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

Add OPENAI_API_URL support #17

Open
erhant opened this issue Oct 11, 2024 · 2 comments
Open

Add OPENAI_API_URL support #17

erhant opened this issue Oct 11, 2024 · 2 comments

Comments

@erhant
Copy link
Contributor

erhant commented Oct 11, 2024

Suggestion by @vpavlin, could be used to make requests towards OpenAI compatible API endpoints

@andthattoo
Copy link
Owner

Makes sense, any examples in mind?

@vpavlin
Copy link

vpavlin commented Oct 11, 2024

I use this in my go code: https://github.com/sashabaranov/go-openai/blob/master/config.go#L37

And it works with OpenAI, Venice AI, Ollama, Akash Chat APi...

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

No branches or pull requests

3 participants