Skip to content
Discussion options

You must be logged in to vote

The OPENAI_BASE_URL you provided is incorrect. If it were correct, you should be able to call the endpoint {base_url}/chat/completions (the API needs to be OpenAI-compatible). For example, with OpenRouter, it would be https://openrouter.ai/api/v1.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@romelsalwi
Comment options

Comment options

You must be logged in to vote
1 reply
@romelsalwi
Comment options

Comment options

You must be logged in to vote
4 replies
@romelsalwi
Comment options

@romelsalwi
Comment options

@zanllp
Comment options

Answer selected by romelsalwi
@romelsalwi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants