fix: make model validation token budget configurable

This commit is contained in:
chaochaoweb3
2026-07-02 15:48:44 +08:00
parent 5bfd7b2468
commit c1e4b1c9bf
9 changed files with 106 additions and 2 deletions
+5
View File
@@ -121,6 +121,11 @@ AI_MODEL=global.anthropic.claude-sonnet-4-5-20250929-v1:0
# Leave unset for models that don't support temperature (e.g., GPT-5.1 reasoning models)
# TEMPERATURE=0
# Model Validation (Optional)
# Token budget used when testing model availability. Increase for reasoning
# models that may emit thinking tokens before final content.
# MODEL_VALIDATION_MAX_TOKENS=1000
# Access Control (Optional)
# ACCESS_CODE_LIST=your-secret-code,another-code