diff --git a/src/gateway/server-methods/chat.ts b/src/gateway/server-methods/chat.ts index 909d933ae81..3b506c052c0 100644 --- a/src/gateway/server-methods/chat.ts +++ b/src/gateway/server-methods/chat.ts @@ -1471,7 +1471,7 @@ export const chatHandlers: GatewayRequestHandlers = { storePath, sessionFile: entry?.sessionFile, agentId: resolveSessionAgentId({ sessionKey: rawSessionKey, config: cfg }), - createIfMissing: false, + createIfMissing: true, }); if (!appended.ok || !appended.messageId || !appended.message) { respond(