接入dify工作流内容
This commit is contained in:
@@ -143,7 +143,7 @@ class DifyChat:
|
|||||||
data = {
|
data = {
|
||||||
"query": query,
|
"query": query,
|
||||||
"sys.files": [],
|
"sys.files": [],
|
||||||
"sys.user_id": user_id,
|
"user": user_id,
|
||||||
"response_mode": "streaming", # 使用流式响应
|
"response_mode": "streaming", # 使用流式响应
|
||||||
"conversation_id": session_id # 使用会话ID保持上下文
|
"conversation_id": session_id # 使用会话ID保持上下文
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user