Skip to content

Commit cdaa458

Browse files
committed
docs(models): explain Go effort exception from provider error
1 parent 67e1373 commit cdaa458

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎models.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -874,8 +874,8 @@ export const providers = {
874874
"glm-flash": {
875875
displayName: "GLM Flash",
876876
resolve: "opencode-go/glm-5.3-flash",
877-
// The Go endpoint rejected reasoning_effort=high during PR review #964
878-
// (run 36464251799), despite models.dev advertising this ladder.
877+
// The Go endpoint rejects reasoning_effort ("native reasoning control
878+
// reasoning_effort is not allowed"), despite models.dev advertising a ladder.
879879
effort: [],
880880
openRouterEffort: ["low", "high", "max"],
881881
openRouterResolve: "openrouter/z-ai/glm-5.3-flash",

‎test/models-catalog.main.test.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ describe("effort ladders mirror published catalogs", async () => {
165165
// The Go GLM Flash endpoint rejects reasoning_effort even though models.dev
166166
// lists effort rungs; preserve the observed transport contract until fixed.
167167
if (alias.slug === "opencode-go/glm-flash") {
168+
expect(rungs(publishedEffort(alias.resolve))).toBeDefined();
168169
expect(alias.effort).toEqual([]);
169170
return;
170171
}

0 commit comments

Comments
 (0)