feat: add thinking settings to compatible anthropic api (#1017)

This commit is contained in:
JeffJiang
2026-03-08 20:18:21 +08:00
committed by GitHub
parent 511e9eaf5e
commit 3512279ce3
4 changed files with 443 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ models:
# extra_body:
# thinking:
# type: enabled
# Example: OpenAI model
# - name: gpt-4
# display_name: GPT-4
@@ -46,6 +46,9 @@ models:
# api_key: $ANTHROPIC_API_KEY
# max_tokens: 8192
# supports_vision: true # Enable vision support for view_image tool
# when_thinking_enabled:
# thinking:
# type: enabled
# Example: Google Gemini model
# - name: gemini-2.5-pro