Skip to content

fix(subagent): Consult btw.md when called directly#186

Open
gadenbuie wants to merge 4 commits intomainfrom
fix/185-direct-subagent-tool
Open

fix(subagent): Consult btw.md when called directly#186
gadenbuie wants to merge 4 commits intomainfrom
fix/185-direct-subagent-tool

Conversation

@gadenbuie
Copy link
Collaborator

Fixes #185

btw_tool_agent_subagent() was optimized for calling through btw_client() or btw_app(), but if called directly, e.g. through an MCP server, it would not re-read btw.md to get the subagent configuration. As a result it would default to always using the btw client default (ellmer's Claude model choice).

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.

claude-sonnet-4-5-20250929 hardcoded in btw_tool_agent_subagent?

1 participant