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

Set OpenAI ApiVersion to empty on initialization #582

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

papayalabs
Copy link
Contributor

Set OpenAI ApiVersion to be empty during initialization; otherwise the Ruby-Openai gem will force v1 in the URL

@mattlindsey
Copy link
Contributor

Hi @papayalabs. This worked fine for my setup with OpenAI, Anthropic, Ollama, and Groq.
Although I had to manually add v1/ to the OpenAI API Services setting. I think you could safely add a migration to update any record that matches https://api.openai.com/ exactly.

@papayalabs
Copy link
Contributor Author

Ready @mattlindsey! Thanks for the recommendation.

@krschacht krschacht merged commit 2dc5a8a into AllYourBot:main Dec 20, 2024
6 checks passed
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.

3 participants