mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 05:20:33 +08:00
After each reply the chat composer shows a predicted next line as its placeholder, and Tab accepts it. When the assistant has just asked a question, such as a quiz in chat, the likeliest next line is the answer, so the hint gives it away. There was no way to turn it off. Add an `ask_hint_enabled` switch to the per-user starter settings (Settings -> Conversation -> Composer), on by default. When it is off, `get_ask_hint` returns an empty hint before reading the session or the cache, so no LLM call is made and no line cached while it was on leaks through. A PUT that omits the field keeps the stored value, so an older client or a settings draft saved before this change cannot turn the hint back on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>