Skip to content

Conversation

gvozdevs
Copy link

Description

This PR fixes a critical issue where embedding model calls were failing with "invalid model ID" errors by removing the incorrect prefix from embedding model names. The OpenAI API expects model names without the provider prefix, but our plugin was sending prefixed names like openai/text-embedding-3-small instead of the correct . openai/``text-embedding-3-small

Files Changed

  • Updated embedding model name mappings go/plugins/compat_oai/openai/openai.go

Checklist (if applicable):

Copy link

google-cla bot commented Sep 12, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant