feat: 新增 thinking 注入配置支持,扩展设置管理与前端交互

新增 promptcompat 和 OpenAI shared 层的 thinking 注入逻辑,
完善配置系统的编解码与校验,更新设置管理 API 与前端 UI。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
CJACK
2026-04-26 13:35:20 +08:00
parent 3627c7366d
commit c09a4b51a5
34 changed files with 1038 additions and 94 deletions

View File

@@ -51,9 +51,16 @@
"store_ttl_seconds": 900
},
"history_split": {
"enabled": true,
"enabled": false,
"trigger_after_turns": 1
},
"current_input_file": {
"enabled": true,
"min_chars": 0
},
"thinking_injection": {
"enabled": true
},
"embeddings": {
"provider": "deterministic"
},