shell_gpt
shell_gpt copied to clipboard
API_BASE_URL not honoured.
Since additional kwargs is set to empty object, the API_BASE_URL config item is lost and not passed to the openai completion function. My use case is to use OpenRouter instead of openai.
Edit: Issue may be due to some other issue, now that I look into it, but I don't know where. https://github.com/TheR1D/shell_gpt/blob/9615dfbec856c1e1822adc4d9e4a3a3035a002b0/sgpt/handlers/handler.py#L13
Can you elaborate more on this? I am using ollama without litellm and it works fine after setting the API_BASE_URL. Have you tried setting it as an environment variable?