chat-robot 取消性别传入,从用户输入中提取性别
This commit is contained in:
@@ -92,7 +92,6 @@ def chat(post_data):
|
||||
user_id = post_data.user_id
|
||||
session_id = post_data.session_id
|
||||
input_message = post_data.message
|
||||
gender = post_data.gender
|
||||
|
||||
# final_outputs = agent_executor(
|
||||
# {"input": input_message, "gender": gender},
|
||||
@@ -100,7 +99,7 @@ def chat(post_data):
|
||||
# session_key=f"buffer:{user_id}:{session_id}",
|
||||
# )
|
||||
|
||||
final_outputs = CallQWen.call_with_messages(input_message, gender)
|
||||
final_outputs = CallQWen.call_with_messages(input_message)
|
||||
# api_response = {
|
||||
# 'user_id': user_id,
|
||||
# 'session_id': session_id,
|
||||
|
||||
Reference in New Issue
Block a user