Skip to content

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

Merged
gadenbuie merged 4 commits intomainfrom
fix/185-direct-subagent-tool
Mar 30, 2026
Merged

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

Conversation

@gadenbuie
Copy link
Copy Markdown
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).

@gadenbuie gadenbuie merged commit d5d574f into main Mar 30, 2026
9 checks passed
@gadenbuie gadenbuie deleted the fix/185-direct-subagent-tool branch March 30, 2026 17:35
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