feat(setup): ask custom OpenAI-compatible users about thinking support by wuhongqiang888 · Pull Request #3727 · bytedance/deer-flow · GitHub
Skip to content

feat(setup): ask custom OpenAI-compatible users about thinking support#3727

Open
wuhongqiang888 wants to merge 1 commit into
bytedance:mainfrom
wuhongqiang888:hermes/setup-thinking-prompt
Open

feat(setup): ask custom OpenAI-compatible users about thinking support#3727
wuhongqiang888 wants to merge 1 commit into
bytedance:mainfrom
wuhongqiang888:hermes/setup-thinking-prompt

Conversation

@wuhongqiang888

Copy link
Copy Markdown

Summary

When configuring the Other OpenAI-compatible provider in make setup, the wizard now asks whether the model supports thinking/reasoning output. If the user confirms, the generated config.yaml includes supports_thinking: true and when_thinking_enabled/when_thinking_disabled blocks.

Built-in providers (OpenAI, Anthropic, DeepSeek, etc.) are not affected - they already have pre-configured thinking support.

Changes

  • scripts/wizard/steps/llm.py: Add ask_yes_no prompt for thinking support after base_url entry; add supports_thinking field to LLMStepResult
  • scripts/setup_wizard.py: Merge OPENAI_COMPAT_THINKING_CONFIG into extra model config when user confirms thinking support

Fixes #3162

When users configure the 'Other OpenAI-compatible' provider in make setup,
the wizard now asks whether their model supports thinking/reasoning.
Supports_thinking is passed through LLMStepResult and written to config.
@CLAassistant

CLAassistant commented Jun 23, 2026

Copy link
Copy Markdown

@github-actions github-actions Bot added area:ci GitHub Actions, CI config, repo tooling risk:medium Medium risk: regular code changes size/S PR changes 20-100 lines labels Jun 23, 2026
@WillemJiang

Copy link
Copy Markdown
Collaborator

@wuhongqiang888, please click the CLA assistant button to sign the CLA before we start the review process.

@WillemJiang

WillemJiang commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

@hetaoBackend hetaoBackend self-requested a review June 24, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci GitHub Actions, CI config, repo tooling risk:medium Medium risk: regular code changes size/S PR changes 20-100 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make setup should ask whether OpenAI-compatible models support thinking

3 participants