You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***models:** dynamic model fetching — model catalogue extracted from `consts.ts` into `provider/opencode-models.ts` (METADATA_OVERLAY as single source of truth); models are fetched asynchronously from the OpenCode Go/Zen APIs with a 5-minute cache and static fallback on network failure; unknown model IDs from the API get auto-generated defaults so they appear in the picker before a new extension release
8
+
***tools:** implement tiered tool-payload reduction for free-tier models (ADR-001) — deterministic stable sort + soft-cap trimming (`preferredToolLimit: 32`) for eligible request kinds (`main-agent`, `background`), preventing HTTP 500 errors when free models receive more tools than their server-side limit
9
+
***tools:** add reactive retry on HTTP 500 — when a request with >8 tools fails, retry once with half the tools before propagating the error (mirrors Claude Code's `hasAttemptedReactiveCompact` pattern)
10
+
***error:** improve HTTP 500 error message to include tool count when the request carried many tools, helping users diagnose payload-size issues
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
"displayName": "OpenCode for Copilot",
4
4
"description": "Use OpenCode Go & Zen coding models (GLM, Kimi, DeepSeek, Claude, Grok, Qwen, free models) in the Copilot Chat model picker. Vision, thinking mode, agent tools — zero config, BYOK.",
0 commit comments