diff --git a/src/renderer/api/ollama.ts b/src/renderer/api/ollama.ts index 8a1b44d..d0e45d7 100644 --- a/src/renderer/api/ollama.ts +++ b/src/renderer/api/ollama.ts @@ -73,6 +73,7 @@ export class OllamaAPI { model: params.model, messages: params.messages, stream: true, + keep_alive: '1h', }; if (params.think !== undefined) body.think = params.think; if (params.system) body.system = params.system;