-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
LM Studio #207
Comments
#27 there's some tips on there that got it working for me. Using mistral 7b, it's alright but ChatGPT def does better |
The TLDR is
|
In Windows PowerShell, you can set environment variables using the following commands: $env:OPENAI_API_KEY="sk-dummy1234"
$env:OPENAI_API_BASE="http://localhost:1234/v1" This sets the Keep in mind that these changes will only persist for the duration of your PowerShell session. If you want to make them permanent, you might consider adding them to your user or system environment variables. If you are using Command Prompt instead of PowerShell, you can use the set OPENAI_API_KEY=sk-dummy1234
set OPENAI_API_BASE=http://localhost:1234/v1 Again, note that there are no spaces around the equal sign. Environment variable changes made in Command Prompt will also only persist for the duration of that session. |
Hi @yashkite, if i do like you suggested I get this error: Can you please help me? |
Any guidance on setting up with LM Studio API ?
The text was updated successfully, but these errors were encountered: