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

How do I change the OpenAI base url? #57

Closed
DavidVeevt opened this issue Jun 25, 2024 · 2 comments
Closed

How do I change the OpenAI base url? #57

DavidVeevt opened this issue Jun 25, 2024 · 2 comments

Comments

@DavidVeevt
Copy link

How do I change the OpenAI base url?

@anzestrela
Copy link

I have had some success by modifying the line 43 of "src/backend/llm/base.py" to: self.llm = LiteLLM(model=model, api_base="http://192.168.73.78:5000/v1") where "http://192.168.73.78:5000/v1" is the IP of your server.

Doing this, it will generate a response and then error saying that the API key is invalid.

I inform you if I manage to fix this.

@DavidVeevt
Copy link
Author

Thank you it worked!

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