feat(reasoning): support operator-configurable default mode via DOBOTAI_DEFAULT_MODE

This commit is contained in:
姚章浩
2026-09-15 12:25:09 +08:00
parent d6a781ba5b
commit f800127461
6 changed files with 86 additions and 14 deletions
@@ -0,0 +1,6 @@
-- 000022_reasoning_default_mode: support an operator-configurable default
-- mode for the /think reasoning router. The new column records whether a
-- user has explicitly chosen a mode (/think on|off); users who never have
-- will follow DOBOTAI_DEFAULT_MODE instead of the hardcoded quick answer.
ALTER TABLE reasoning_mode_states
ADD COLUMN user_selected BOOLEAN NOT NULL DEFAULT FALSE;