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: adjust regex in ModelService to recognize o1- models returned fr… #4340

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

juwalter
Copy link
Contributor

@juwalter juwalter commented Oct 4, 2024

Summary

API query for OpenAI returns list of models. Their names are filtered using a regex. The regex did not yet account for model names starting with o1- - with this change, model names starting with "o1-" are also recognized and will be shown in UI.

closes #4339

Change Type

Please delete any irrelevant options.

  • Bug fix (non-breaking change which fixes an issue)

Testing

performed docker build with this change and tested manually

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • A pull request for updating the documentation has been submitted.

…om OpenAI-API query

API query for OpenAI returns list of models. Their names are filtered using a regex. The regex did not yet account for model names starting with o1-
@danny-avila danny-avila changed the title fix: adjust regex in ModelService to recognize o1- models returned fr… 💬 fix: adjust regex in ModelService to recognize o1- models returned fr… Oct 7, 2024
@danny-avila danny-avila merged commit 5da7766 into danny-avila:main Oct 7, 2024
1 check passed
@juwalter juwalter deleted the fix/o1-regex-modelservice branch October 8, 2024 08:03
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.

[Bug]: regex for list of models in api/server/services/ModelService does not include OPENAI o1 models
2 participants