Skip to content

fix(ai): default native Mantle to Responses - #45394

Merged
rekram1-node merged 1 commit into
v2from
mantle-default
Aug 26, 2026
Merged

rekram1-node merged 1 commit into
v2from
mantle-default

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • make AmazonBedrockMantle.configure(...).model(...) and both default native package exports use Responses, matching the native OpenAI convention
  • preserve explicit .chat(...) and .responses(...) methods and their separate native entrypoints/protocols
  • retain HTTP-only Mantle Responses and the existing Core selection of Chat for the two safeguard models
  • extend selection coverage to both safeguard IDs and verify the default exports resolve to Responses

Only the default aliases change in production code. Callers using the default entrypoint for Chat-only models must select Chat explicitly; Core already selects the explicit Chat entrypoint for openai.gpt-oss-safeguard-20b and openai.gpt-oss-safeguard-120b. No models.dev, authentication, metadata, or routing-abstraction changes.

Verification

  • 13 AI tests passed across Mantle and native-provider suites
  • 57 Core tests passed across native mapping and model resolution
  • bun typecheck passed in packages/ai and packages/core
  • Prettier checks passed for all four changed files
  • git diff --check passed
  • branch is up to date with v2 at 5b25ee8430

@rekram1-node
rekram1-node merged commit 767115c into v2 Aug 26, 2026
10 checks passed
@rekram1-node
rekram1-node deleted the mantle-default branch August 26, 2026 21:47
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 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