Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
docs(models): explain Go effort exception from provider error
  • Loading branch information
AojdevStudio committed Sep 28, 2026
commit cdaa458808a9418c1bb4cafc047f83d83f1be802
4 changes: 2 additions & 2 deletions models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -874,8 +874,8 @@ export const providers = {
"glm-flash": {
displayName: "GLM Flash",
resolve: "opencode-go/glm-5.3-flash",
// The Go endpoint rejected reasoning_effort=high during PR review #964
// (run 36464251799), despite models.dev advertising this ladder.
// The Go endpoint rejects reasoning_effort ("native reasoning control
// reasoning_effort is not allowed"), despite models.dev advertising a ladder.
effort: [],
openRouterEffort: ["low", "high", "max"],
openRouterResolve: "openrouter/z-ai/glm-5.3-flash",
Expand Down
1 change: 1 addition & 0 deletions test/models-catalog.main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ describe("effort ladders mirror published catalogs", async () => {
// The Go GLM Flash endpoint rejects reasoning_effort even though models.dev
// lists effort rungs; preserve the observed transport contract until fixed.
if (alias.slug === "opencode-go/glm-flash") {
expect(rungs(publishedEffort(alias.resolve))).toBeDefined();
expect(alias.effort).toEqual([]);
return;
}
Expand Down