You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Why does Reset ignore the api_base, api_key settings and give an error if OPENAI_API_KEY is missing?
Describe the solution you'd like
Retain the setting values of api_base and api_key after executing the %reset command.
Even if the %reset command is executed, the setting values of api_base and api_key are retained, thus preventing application stoppage due to missing OPENAI_API_KEY.
Describe alternatives you've considered
No response
Additional context
I am using llama-cpp-python to operate an open-interpreter with a local server. The command interpreter --api_base "http://localhost:8080/v1" --api_key "dummy" normally works without any issues. However, upon executing %reset, the application stops with an error indicating an incorrect API key, even though the correct settings were previously provided. This suggests that the %reset command does not retain the api_base and api_key settings, leading to a failure when the OPENAI_API_KEY is absent.