javis-bot
5ee47827f3
perf: cap chat output tokens via ollama_num_predict to bound reply latency
...
Spoken (TTS) replies are 1-2 sentences, so an unbounded num_predict only
exposes the worst case where the chat model rambles or loops. Add an
ollama_num_predict config (default 512, 0 disables) wired into the reply
loop's chat call on both the native- and text-tool paths. The 512-token
headroom stays well above this app's short tool-call JSON, so capping never
truncates a tool call. This keeps the user's quality model instead of
downgrading it. Configurable in the container via OLLAMA_NUM_PREDICT.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-23 15:33:45 +09:00
..
2026-06-09 14:51:05 +09:00
2026-06-12 21:59:42 +09:00
2026-06-09 14:51:05 +09:00
2026-06-13 01:28:37 +09:00
2026-06-13 14:53:54 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-12 23:45:16 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-23 15:33:45 +09:00
2026-06-16 19:47:26 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-22 18:05:22 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-11 10:08:30 +09:00
2026-06-16 19:56:13 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-23 03:49:53 +09:00
2026-06-12 21:59:26 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-23 03:27:33 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-09 14:51:05 +09:00
2026-06-11 01:17:50 +09:00