系统提示词同步

This commit is contained in:
2025-11-28 15:40:09 +08:00
parent 66da76bbcc
commit 0483e1f514
2 changed files with 2 additions and 6 deletions

View File

@@ -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流式对话