Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/resync-model-metadata-2026-10-19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"opencode-bridge-for-copilot-chat": patch
---

Resync supplemental model mirrors with current models.dev metadata.
8 changes: 2 additions & 6 deletions src/models/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ const SUPPLEMENTAL_MODELS: Readonly<Record<"opencode" | "opencode-go", Readonly<
family: "glm",
limit: { context: 204_800, output: 131_072 },
reasoning: true,
// Live-verified 2026-10-09: the Go gateway routes glm-5.1/5.2/5.3 to a
// GLM-5.3 backend that only accepts reasoning_effort low|high|max —
// a thinking toggle or "none" is rejected ("thinking-only model").
reasoning_options: [{ type: "effort", values: ["low", "high", "max"] }],
reasoning_options: [{ type: "toggle" }],
tool_call: true,
modalities: { input: ["text"] },
cost: { input: 1.4, output: 4.4, cache_read: 0.26 },
Expand All @@ -143,8 +140,7 @@ const SUPPLEMENTAL_MODELS: Readonly<Record<"opencode" | "opencode-go", Readonly<
family: "glm",
limit: { context: 204_800, output: 131_072 },
reasoning: true,
// Mirrors the live-verified glm-5.1/5.2/5.3 effort set (see above).
reasoning_options: [{ type: "effort", values: ["low", "high", "max"] }],
reasoning_options: [{ type: "toggle" }],
tool_call: true,
modalities: { input: ["text"] },
cost: { input: 1, output: 3.2, cache_read: 0.2 },
Expand Down