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