Skip to content

fix: preserve OpenRouter model IDs for custom gateways#1

Open
08mamba24 wants to merge 1 commit intoheartyguy:feature/openrouter-supportfrom
08mamba24:feature/openrouter-support
Open

fix: preserve OpenRouter model IDs for custom gateways#1
08mamba24 wants to merge 1 commit intoheartyguy:feature/openrouter-supportfrom
08mamba24:feature/openrouter-support

Conversation

@08mamba24
Copy link
Copy Markdown

Summary

  • preserve fully-qualified model IDs and non-Gemini model IDs when using OpenRouter
  • only map Gemini aliases to google/* when talking to the official openrouter.ai endpoint
  • document custom gateway behavior and add coverage for official and custom endpoint cases

Testing

  • npm run test --workspace packages/core -- openRouterContentGenerator.test.ts

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