rubberduck-ai / rubberduck-vscode

Use AI-powered code edits, explanations, code generation, error diagnosis, and chat in Visual Studio Code with the official OpenAI API.
https://marketplace.visualstudio.com/items?itemName=Rubberduck.rubberduck-vscode
MIT License
582 stars 70 forks source link

Make OpenAI URL configurable #65

Closed nicoespeon closed 1 year ago

nicoespeon commented 1 year ago

Close #39

OpenAI base URL

It defaults to the current value. Changing it will affect further calls.

You can see that in the logs:

logs

The only gotcha is that nothing prevents you from using an API that won't be compatible, but I think it's expected. The logs will tell something is wrong anyway.