Add a Thinking on/off button next to Auto-Play TTS. When OFF (default), the client sends enable_thinking=false with each chat_message and the server passes chat_template_kwargs.enable_thinking=false to self-hosted OpenAI-compatible endpoints (Qwen3-style), suppressing chain-of-thought to save tokens rather than merely hiding it. Skips the param for api.openai.com (which would 400) and o1/o3 (always think); templates that ignore the kwarg simply drop it. Client-side reasoning suppression remains as a fallback. State persists to localStorage across desktop and mobile. |
||
|---|---|---|
| .. | ||
| auth.html | ||
| base.html | ||
| browse.html | ||
| chat.html | ||
| index.html | ||
| profile.html | ||
| search.html | ||