Handle slow AI backend timeouts

This commit is contained in:
Hermes Agent
2026-09-11 13:42:42 +02:00
parent 9320217e0f
commit b2d2ba58fc
6 changed files with 56 additions and 5 deletions
+6 -1
View File
@@ -38,7 +38,8 @@ Copiez `config.json.template` vers `config.json` puis adaptez :
"model": "llama3.1",
"api_key": "",
"server_url": "http://localhost:11434",
"hotkey": "ctrl+alt+a"
"hotkey": "ctrl+alt+a",
"request_timeout_seconds": 300
}
```
@@ -63,6 +64,10 @@ Copiez `config.json.template` vers `config.json` puis adaptez :
}
```
### Timeout IA
`request_timeout_seconds` vaut `300` par défaut. Si Ollama charge un gros modèle ou répond lentement, augmentez cette valeur. Mettez `0` pour désactiver le timeout côté application.
## Compilation
### Windows