[FEATURE] agent models should use non agent model configuration if "opencodego.showAgentModelsInManagePanel": false,
@ltmoerdani
What is the behavior if the following setting is set?
"opencodego.showAgentModelsInManagePanel": false,
Will Agent Models than behave the same as non Agent models?
With this setting enabled, I do not see the agent models (which is expected). See screenshot below.
But what will happen if I now change configuration options? In my opinion, changing configuration options should in the case of "opencodego.showAgentModelsInManagePanel": false, affect both agent and non agent models.
@hu3bi short answer: no, the base vendor config does not carry over to agent models when showAgentModelsInManagePanel is false. VS Code treats them as separate vendors, so disabling a model under opencodego does not affect opencodego-agent.
We tried fixing this in PR #60, but VS Code does not expose the visibility state through its public API, so there is no way to sync them from the extension side. This overlaps with #58, and both need an upstream VS Code fix.
For now, the workaround is the same: set showAgentModelsInManagePanel to true, then disable agent models directly in the Manage panel. Not ideal, but it covers the use case until VS Code adds better API support.