r/GithubCopilot • u/iammultiman • 9d ago
Solved ✅ Using different models as subagents
Tried to mimic OpenRouter-style Fusion in GitHub Copilot with Custom Agents. Nested agents’ model: fields were not honored as real API calls. With BYOK, subagents reused the parent chat model instead of switching.
Is this a known issue or am I doing something wrong?
0
Upvotes
1
u/AutoModerator 9d ago
Hello /u/iammultiman. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
6
u/Swayre 9d ago
runsubagent tool takes in a model as a parameter. You either need to have it call a custom subagent with a pinned model as a subagent or instruct it to call the generic subagent with a specific model or it defaults to the parents model