feat: per-model max output tokens and a conversation-time thinking level backed by agent settings (#28)

Co-authored-by: Alice <alice@prismshadow.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-22 22:22:41 +08:00
committed by GitHub
parent 99f391f379
commit cabbab1c16
36 changed files with 797 additions and 42 deletions
@@ -32,6 +32,9 @@ function presetToRow(p: PresetEntry): RowState {
modelId: p.model_id,
original: null,
...presetFields(p),
// The output cap is user-owned, not catalog-owned (deliberately outside presetFields,
// so a sync never clobbers it on existing rows): fresh rows inherit the Agent setting.
maxTokens: "",
originalBaseUrl: "",
apiKeyInput: "",
clearApiKey: false,