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

Unable to change OPENAI_BASE_URL in .sgptrc #473

Closed
johnd0e opened this issue Feb 10, 2024 · 1 comment · Fixed by #477
Closed

Unable to change OPENAI_BASE_URL in .sgptrc #473

johnd0e opened this issue Feb 10, 2024 · 1 comment · Fixed by #477
Assignees
Labels
bug Something isn't working

Comments

@johnd0e
Copy link

johnd0e commented Feb 10, 2024

This line present in default sgptrc:

OPENAI_BASE_URL=https://api.openai.com/v1

I change that line, but that has no effect.
I can see that for example in error messages (api_base = 'https://api.openai.com/v1').

And that is no surprise, the value in config seems unused https://github.com/search?q=repo%3ATheR1D%2Fshell_gpt%20OPENAI_BASE_URL&type=code

@TheR1D TheR1D added the bug Something isn't working label Feb 11, 2024
@TheR1D
Copy link
Owner

TheR1D commented Feb 11, 2024

Hi @johnd0e, thank you for reporting this issue. I can confirm that the OPENAI_BASE_URL is not being used after the latest release. We will address this in upcoming updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants