diff --git a/config.example.yaml b/config.example.yaml index 7396f6cfb..9ea4e4c08 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -118,19 +118,25 @@ models: # For Docker deployments, use host.docker.internal instead of localhost: # base_url: http://host.docker.internal:11434 - # Example: Anthropic Claude model - # - name: claude-3-5-sonnet - # display_name: Claude 3.5 Sonnet + # Example: Anthropic Claude model (with extended thinking) + # supports_thinking: true is required — without it, DeerFlow silently falls + # back to non-thinking mode even when the UI thinking toggle is on. + # budget_tokens is required by the Anthropic API when thinking.type=enabled + # (no server default; min 1024; must be less than max_tokens). + # - name: claude-sonnet-4 + # display_name: Claude Sonnet 4 # use: langchain_anthropic:ChatAnthropic - # model: claude-3-5-sonnet-20241022 + # model: claude-sonnet-4-20250514 # api_key: $ANTHROPIC_API_KEY # default_request_timeout: 600.0 # max_retries: 2 - # max_tokens: 8192 - # supports_vision: true # Enable vision support for view_image tool + # max_tokens: 16000 + # supports_vision: true + # supports_thinking: true # when_thinking_enabled: # thinking: # type: enabled + # budget_tokens: 4096 # required; min 1024; must be < max_tokens # when_thinking_disabled: # thinking: # type: disabled