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

Using OpenRouter #86

Closed
0xsks opened this issue Sep 24, 2023 · 1 comment
Closed

Using OpenRouter #86

0xsks opened this issue Sep 24, 2023 · 1 comment

Comments

@0xsks
Copy link

0xsks commented Sep 24, 2023

Is it possible to use OpenRouter instead of openAI? It can use the OpenAI sdk directly (https://openrouter.ai/docs#api-keys)

I see people are using LocalAI by changing the base in #27 , tried to do the same and changed it to the OpenRouter api base (using both set OPENAI_API_BASE= and $env: ) but it is not working.

Theoretically this should work? What am I doing wrong?

@qianc62
Copy link
Collaborator

qianc62 commented Sep 25, 2023

We haven't tested the effectiveness of OpenRouter. We encourage you to follow the posts on related issues and hope that your questions will be resolved through the experiences and discussions of other active developers. ^_^

@qianc62 qianc62 closed this as completed Sep 25, 2023
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

2 participants