opencode-copilot-chat icon indicating copy to clipboard operation
opencode-copilot-chat copied to clipboard

[BUG] Provider context menu options (Delete, Update API Key) are unresponsive and default model list cannot be removed

Open xianhongtao opened this issue 3 months ago • 3 comments

🐛 What happened?

Context menu options (Delete, Update API Key, Rename Group, Open in Language Models (JSON)) on the provider group are completely unresponsive when clicked. Additionally, reinstalling the extension automatically force-populates the default OpenCode Go group without giving an option to remove or manage it.

🔄 Steps to reproduce

  1. Open the Language Models view in VS Code.
  2. Click the gear icon or right-click on the OpenCode Go provider group.
  3. Select Delete, Update API Key, or Rename Group (no action occurs).
  4. Uninstall the extension, wipe extension global storage, and perform a clean reinstall.
  5. Observe that the OpenCode Go group is automatically recreated on startup.

✅ What did you expect?

Context menu commands should execute properly when clicked, and clean reinstalls should allow manual provider/model setup instead of force-populating default groups.

🖥️ Environment

  • Extension version: 0.5.1
  • VS Code version: 1.132.0
  • Provider: OpenCode Go
  • Model: N/A (Applies to all models in group)

📸 Logs or screenshots (optional)

Image Image

xianhongtao avatar Aug 11 '26 09:08 xianhongtao

Issue isn't solve so I opened a new one.

xianhongtao avatar Aug 11 '26 09:08 xianhongtao

@xianhongtao context on the timeline: #121 was closed Aug 10 because PR #124 (the fix) had merged. The Marketplace release containing that fix (0.5.2) shipped today, Aug 11. So on 0.5.1 you'd still hit this. That's a real gap between merge and publish, I'll leave a "fix lands in X.Y" note next time instead of just closing.

0.5.2 is live now. Shoutout to @Fahad090NP who authored the fix (PR #124): context menu responsive again, reinstall no longer force-recreates the Go group. Closing this as duplicate of #121.

Side note: this is a solo project, mostly me and a couple of outside contributors who submit fixes on their own initiative. Not an excuse, just context for why the release cadence can lag behind merges. If 0.5.2 still breaks for you, reopen #121 or ping here and I'll dig in.

ltmoerdani avatar Aug 11 '26 11:08 ltmoerdani

@xianhongtao I look forward to you updating the extension, testing the updated feature, and creating another issue if you find any. All three issues are solved.

If your VS Code is not updating the extension automatically, search for the extension and click the update button, or reinstall it after uninstalling first.

Glad to see your interest in making this project better.

Fi Amanillah.

Fahad090NP avatar Aug 11 '26 11:08 Fahad090NP