Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add new OpenAI model names to _infer_model_format #7297

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

anakin87
Copy link
Member

@anakin87 anakin87 commented Mar 4, 2024

Related Issues

Proposed Changes:

Add new model names to those recognized as OpenAI models.
Otherwise, the wrong encoder would be used.

How did you test it?

manual test, CI

Checklist

@anakin87 anakin87 added ignore-for-release-notes PRs with this flag won't be included in the release notes. 1.x labels Mar 4, 2024
@anakin87 anakin87 requested a review from a team as a code owner March 4, 2024 10:11
@anakin87 anakin87 requested review from davidsbatista and vblagoje and removed request for a team March 4, 2024 10:11
@anakin87 anakin87 removed the request for review from davidsbatista March 4, 2024 10:11
@vblagoje
Copy link
Member

vblagoje commented Mar 4, 2024

Looks good @anakin87 let me try it out - just for the devil's sake

Copy link
Member

@vblagoje vblagoje left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried it out, the right model and encoder get set.
🚢

@anakin87
Copy link
Member Author

anakin87 commented Mar 4, 2024

If you want, cherry-pick this commit in the v1.25.x branch.

@anakin87 anakin87 merged commit d03d5b5 into v1.x Mar 4, 2024
52 checks passed
@anakin87 anakin87 deleted the v1-add-new-openai-model-names branch March 4, 2024 10:32
vblagoje pushed a commit that referenced this pull request Mar 4, 2024
@masci masci added this to the 1.25.1 milestone Mar 22, 2024
@anakin87 anakin87 removed this from the 1.25.1 milestone Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x ignore-for-release-notes PRs with this flag won't be included in the release notes. topic:retriever
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants