fix: #4158 allow reconnection when websocket is closed

log reconnection attempts
mark session_id as mandatory on client-side
This commit is contained in:
Sylvere Richard
2024-08-07 16:33:24 +02:00
parent ad9a7cb1e2
commit 2fb4d3356c
2 changed files with 20 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ type ChatCompletedForm = {
model: string;
messages: string[];
chat_id: string;
session_id: string;
};
export const chatCompleted = async (token: string, body: ChatCompletedForm) => {