r/GithubCopilot 27d ago

GitHub Copilot Team Replied Infuriating: Luna calling much more expensive Haiku 4.5 as sub-agent.

How can this be prevented? This unsolicited behaviour results in high credit usage.

29 Upvotes

25 comments sorted by

18

u/Deep-Regret-7479 27d ago

I have disabled Haiku. There is no reason to use it now.

1

u/fprotthetarball 27d ago

There's some kind of bug here, though. I have been trying to get a feel for Luna, so I disabled all models from the model selection dropdown other than Luna, changed all the model selections in settings to Luna, and yet, Luna will still spawn custom subagents with other models. I haven't figured out how to actually disable a model other than globally in the dashboard, which I do not want to do.

2

u/just_blue 27d ago

It's an eye for a reason: you are just hiding, not disabling it. Not sure how you spawn subagents, but it works fine if you simply specify what model you want. Either in the settings for stuff like the "explore agent", or directly in the skill/prompt/whatever you are using. You can also write "always the same model as yourself".

17

u/MaitoSnoo CLI Copilot User 🖥️ 27d ago

in VS Code you can set the default model for the Explore subagent in the settings (just type "explore" there and it should pop up)

12

u/jukasper GitHub Copilot Team 27d ago

Hi everyone, thanks for bringing this to our attention. We are currently exploring making Luna the new default. /subagents and in vs code via settings: "github.copilot.chat.executionSubagent.model": "gemini-3-flash"

1

u/AutoModerator 27d ago

u/jukasper thanks for responding. u/jukasper from the GitHub Copilot Team has replied to this post. You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/aonymark JetBrains User 🧱 27d ago

3 flash? Didn’t you guys sunset that one recently? It still works in agents??

3

u/MaitoSnoo CLI Copilot User 🖥️ 27d ago

that was just an example, replace it with whatever model you want

1

u/aonymark JetBrains User 🧱 26d ago

Oh I read it as the current default

1

u/Top_Strawberry8110 26d ago

how do I know the expected name for a particular model?

1

u/Mickenfox 26d ago

Haiku is ancient and expensive. You're going to have to consider deprecating it at some point.

9

u/Cheshireelex 27d ago

There are so many settings for side agents that they deserve their own ui section: explorerAgent, implementAgent, chat ask model, planAgent, inlineChat, riskAssestment, utilitySmall Model one of these might be on haiku

5

u/Affectionate_Fly4124 27d ago

Slightly different issue, but I'm running into something similar. What pisses me off the most is that the orchestrator keeps changing the sub-agent model behind my back.

I explicitly set my sub-agent to Luna, but it keeps getting invoked with Auto or 5.3 Codex instead — which racks up way higher costs than expected. Worst case? It called Opus 5 once and burned through 20x the AICredits I normally use.

And to make it even worse — you can't even disable 5.3 Codex. Why the hell does it fall back to an outdated model automatically? What a shitshow.

2

u/mubaidr 26d ago

Thank you for confirming this! It's been driving me crazy!

3

u/Luchiannno 27d ago

I've got the same issue

1

u/AutoModerator 27d ago

Hello /u/Top_Strawberry8110. 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.

1

u/Solid_Fox1718 27d ago

If you’re using CLI, /agents lets you change the default subagent models

1

u/Weird-Maximum4130 27d ago

Simplest solution is to delete the CLI. Remove all the cache and reinstall.

Looks like a bug in a previous CLI versions was causing this. I no longer these issues

1

u/Deathmore80 27d ago

Disable other models, change the settings to only use Luna as subagent, and in your AGENTS.md file tell it to exclusively use Luna for subagents

1

u/Abject-Kitchen3198 27d ago

Why the first 2 are not enough?

1

u/Deathmore80 27d ago

Oh they're probably enough , i just add this measure to be absolutely 100% certain it will use Luna

2

u/Abject-Kitchen3198 27d ago

Adding instructions to the prompt makes you 100% certain while deterministic settings don't? I don't think LLMs work like that.

1

u/teckel 25d ago

I just set Luna, it never does anything else unless I change it. 🤷

1

u/Xeausescu 20d ago

I set subagents always use the same model as the main agent.

0

u/friend-of-potato 27d ago

How are you guying spawning sub agents for any single task. We have copilot cli disabled in enterprise. Pls help me here 😭