Skip to content

fix(ai): make model capability defaults forward-compatible - #52388

Merged
rekram1-node merged 1 commit into
v2from
model-id-audit
Sep 30, 2026
Merged

rekram1-node merged 1 commit into
v2from
model-id-audit

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • Default chronological effort updates on for GPT major versions >= 6, including GPT-6.1, future families, snapshots, and model suffixes.
  • Default tool streaming on for GLM >= 4.6, including later minor and major versions, when tools are present.
  • Preserve explicit overrides and OpenAI pro reasoning-mode / automatic context-management exclusions.
  • Cover version boundaries, gateway namespaces, case-insensitive IDs, malformed IDs, and override behavior.

Verification

  • bun test test/effort-updates.test.ts test/provider/zai.test.ts --only-failures from packages/ai: 62 passed
  • bun typecheck from packages/ai
  • bun run check from repository root
  • Prettier check for changed files

@rekram1-node
rekram1-node merged commit 91b9bc5 into v2 Sep 30, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the model-id-audit branch September 30, 2026 22:50
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant