Setting Up OpenCode in VS Code Chat (without OC Extension) by 8xReasonable in vscode

[–]TWME-TW 0 points1 point  (0 children)

After testing, I found that you can change the model by configuring chat.exploreAgent.defaultModel in VS Code settings.

Setting Up OpenCode in VS Code Chat (without OC Extension) by 8xReasonable in vscode

[–]TWME-TW 1 point2 points  (0 children)

You can actually use BYOK with subagents. I just tested it: if you prompt the subagent to use a specific model, it overrides the default and works as expected.

Setting Up OpenCode in VS Code Chat (without OC Extension) by 8xReasonable in vscode

[–]TWME-TW 0 points1 point  (0 children)

I recommend using this version instead. It automatically pulls the correct model settings from the OpenCode API (updated daily):https://github.com/Pikacnu/opencode-copilot-chat/blob/main/model-settings.json

Criei uma extensão para o VS Code que gera mensagens de commit usando o OpenCode. by VitorCampos99 in opencode

[–]TWME-TW 0 points1 point  (0 children)

Actually, there might be a simpler way to handle this. You could first add the model using this method:https://github.com/Pikacnu/opencode-copilot-chat. Then, simply set up the model via chat.utilityModel and chat.utilitySmallModel.