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 === "") {