show reasoning in frontend
This commit is contained in:
@@ -51,6 +51,8 @@ The server is configured around an Ollama-compatible API surface:
|
||||
|
||||
`qwen3:14b` is the default model for chat and roleplay. The model selector loads available models from `/tags` and selects `qwen3:14b` when available (otherwise the first returned model). Existing chats retain their saved model selection.
|
||||
|
||||
Chat replies display Ollama's optional `message.thinking` output in a collapsed “Reasoning” section above the answer, updated through SSE `thinking` events during generation. This text is stored separately from the answer and excluded from conversation prompts. An additive SQLite migration preserves it when reopening chats; exports, imports and branches preserve it too. Models without thinking output show no section.
|
||||
|
||||
The refactor adds explicit upstream timeout handling, cached model listing, and `GET /health` for degraded-state visibility.
|
||||
|
||||
## Schema Notes
|
||||
|
||||
Reference in New Issue
Block a user