Skip to content

feat(core): route providers through native AI - #39615

Merged
rekram1-node merged 4 commits into
v2from
native-provider-routing
Jul 30, 2026
Merged

feat(core): route providers through native AI#39615
rekram1-node merged 4 commits into
v2from
native-provider-routing

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • route models.dev packages for Google, OpenRouter, and xAI through their native @opencode-ai/ai provider entrypoints
  • preserve legacy flat catalog settings by projecting them to the native gemini, openrouter, and openai provider option namespaces
  • retain the AI SDK fallback for all other packages
  • verify both package selection and real native route construction

Testing

  • bun test test/model-resolver.test.ts from packages/core (26 pass)
  • git diff --check

Environment limitations

  • provider plugin tests cannot start because web-tree-sitter/tree-sitter.wasm is missing
  • bun typecheck is blocked by existing missing workspace modules including @ff-labs/fff-node, @opencode-ai/sdk/v2/types, web-tree-sitter, and @standard-schema/spec

@rekram1-node
rekram1-node merged commit 7625cbd into v2 Jul 30, 2026
8 checks passed
@rekram1-node
rekram1-node deleted the native-provider-routing branch July 30, 2026 16:26
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