mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-10-10 03:29:50 +08:00
fix: make model validation token budget configurable
This commit is contained in:
@@ -88,6 +88,17 @@ export const SETTINGS_REGISTRY: SettingDef[] = [
|
||||
label: "Max Output Tokens",
|
||||
min: 1,
|
||||
},
|
||||
{
|
||||
key: "MODEL_VALIDATION_MAX_TOKENS",
|
||||
group: "generation",
|
||||
type: "number",
|
||||
label: "Model Validation Max Tokens",
|
||||
description:
|
||||
"Token budget for model test requests. Increase for reasoning models that may emit thinking tokens first.",
|
||||
min: 1,
|
||||
max: 64000,
|
||||
default: "1000",
|
||||
},
|
||||
|
||||
// ── Access Control ───────────────────────────────────────────────
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user