Skip to content

fix(examples/tau-bench): use RunConfig.agent_strategy in TAU_CONFIGS - #2101

Merged
zhuzilin merged 1 commit into
THUDM:mainfrom
CalvinXKY:fix/tau-bench-runconfig-agent-strategy
Jun 20, 2026
Merged

fix(examples/tau-bench): use RunConfig.agent_strategy in TAU_CONFIGS#2101
zhuzilin merged 1 commit into
THUDM:mainfrom
CalvinXKY:fix/tau-bench-runconfig-agent-strategy

Conversation

@CalvinXKY

@CalvinXKY CalvinXKY commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix TAU_CONFIGS in the tau-bench example to use agent_strategy instead of agent.
  • Update the README snippet to match.

tau-bench's RunConfig defines agent_strategy, not agent. The previous key was silently ignored by Pydantic, so changing the agent type in TAU_CONFIGS had no effect (the default tool-calling was always used). trainable_agents.agent_factory already reads config.agent_strategy.

Test plan

  • RunConfig(**TAU_CONFIGS) accepts the config without extra/ignored fields
  • Setting agent_strategy to a non-default value is reflected on the resulting RunConfig object
  • Smoke: examples/tau-bench/run_qwen3_4B.sh still launches (tool-calling default unchanged)

tau-bench RunConfig defines agent_strategy, not agent. The old key was silently ignored by Pydantic, so changing agent type in TAU_CONFIGS had no effect.
@CalvinXKY
CalvinXKY marked this pull request as ready for review June 18, 2026 12:46
@zhuzilin
zhuzilin merged commit 5c47ffb into THUDM:main Jun 20, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants