11wqe1 1 тиждень тому
батько
коміт
a6e6c8d91c
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      cocostudy.js

+ 1 - 1
cocostudy.js

@@ -468,7 +468,7 @@ const callAgentChat = async (agent, message, userId, stepName = "Agent", spaceId
         max_completion_tokens: 4096000,
         stream: false,
         uid: crypto.randomUUID(),
-        session_name: crypto.randomUUID(),
+        session_name: agent.id === AGENT_IDS.detailed ? spaceId : crypto.randomUUID(),
       });
       const reply = res.data?.message;
       if (reply == null || reply === "") {