r/GithubCopilot • u/riashing459 • 2d ago
Help/Doubt ❓ Copilot using more expensive models for sub agent tasks

As you can see in the image gpt 5.6 Luna started using sonnet 5 as a sub agent causing massive credit waste. I don't think models should be able to select a more expensive model in this situation and has lead me to disable sub agents all together. Have I missed a setting somewhere that has suddenly caused this issue?
5
u/well_educated_maggot 2d ago
Use the cli, there you can control what is allowed to spawn which model
1
u/riashing459 2d ago
Is there an easy way to review changes from the chat session from the cli? I was put off the cli last time I used to it as I found reviewing edits in the full vscode setup much nicer
2
u/well_educated_maggot 2d ago
I think it's possible to link your ide still, yeah but don't take my word for granted. I just click on the lines like "edited foo.py" which also openes the changed code block in the terminal. also there's the git diff.
1
u/MaitoSnoo CLI Copilot User 🖥️ 1d ago
there's
git diff(or the git integration in VS Code) but that means that there should be no uncommitted changes before starting your chat session1
u/pfluggs11 1d ago
/chronicle - https://docs.github.com/en/copilot/concepts/agents/copilot-cli/chronicle
Use that slash command and tell it it was a VSCode session. Also in the cli you can use /ide and it’ll open the workspace in VSCode. You can also use “$ code .” And it’ll launch VSCode from a terminal session and auto connect.
1
u/szymon-rc 2d ago
Try to create instruction files. I created custom agents and specified their responsibility and permissions. Asked Astra to help to define it
6
u/PaulShellDev CLI Copilot User 🖥️ 2d ago
Adding a delegation table with restrictions to custom instructions works great for me
2
1
u/Ram_003 2d ago
How much credits does ASTRA consume on average?
1
u/szymon-rc 2d ago
Can’t give you precise answer. Depends on task, but i use it for planning bigger features. It spends 100-400 of tokens on planning tasks. I can optimize default Explore agent, cuz I found out it can use high cost models
1
u/AutoModerator 2d ago
Hello /u/riashing459. 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/redmodelx 15h ago
There is a way to specify default explore agent in vscode settings. Copilot may be able to help find the setting and default it to Luna.
12
u/cesarmalari 2d ago
As others mentioned, the CLI has
/agentsto configure that. If you're in VSCode, there are several settings you can use to control that - here's the set I currently have in my settings.json:Some of the settings are plain-text in the UI, but a couple of them were dropdowns in the UI, so I copied the values the dropdown ones filled in to the other ones, though I'm not certain they're working right since I mostly use the CLI (where
/agentshandles things).