系统提示词同步
This commit is contained in:
@@ -283,6 +283,7 @@ public class AiChatServiceImpl implements AiChatService {
|
||||
inputs.put("connectInternet", agent.getConnectInternet());
|
||||
inputs.put("datasets", JSON.toJSONString(knowledgeIds));
|
||||
inputs.put("dataset_apikey", difyConfig.getKnowledgeApiKey());
|
||||
inputs.put("promt", agent.getDescription());
|
||||
chatRequest.setInputs(inputs);
|
||||
chatRequest.setFiles(filesData);
|
||||
// 6. 调用Dify流式对话
|
||||
|
||||
Reference in New Issue
Block a user