jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.56k stars 307 forks source link

fix(api): fix issue loading Azure OpenAI configuration #364

Closed alejandroclaro closed 4 months ago

alejandroclaro commented 6 months ago

Due to asynchronous operations, loading the *_cmd options for Azure from the vim configuration was not working correctly. It only worked using the environment variables.

This also adds a missing option to set the API type (api_type_cmd) from the vim configuration files instead of having to set an environment variable.

Fixes #365

alejandroclaro commented 5 months ago

Rebase and fix linter findings.

alejandroclaro commented 4 months ago

@jackMort, a new commit solving the style finding in the CI.