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

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

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

alejandroclaro
Copy link
Contributor

@alejandroclaro alejandroclaro commented Jan 4, 2024

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

Because of asynchronous operations, loading *_cmd options from
configuration was not working properly. It was only working using the
environment variables.

Also add a missing options to set API type (api_type_cmd) from vim
config files instead of having to set a environment variable.
- Format README.md file to comply with regular MD guidelines (linter findings)
- Add information about new configuration options to configure Azure
  deployment programmatically.
@alejandroclaro
Copy link
Contributor Author

Rebase and fix linter findings.

@alejandroclaro
Copy link
Contributor Author

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

@jackMort jackMort merged commit dc6f76e into jackMort:main Feb 29, 2024
Wezea pushed a commit to Wezea/ChatGPT.nvim that referenced this pull request Apr 20, 2024
* fix(api): fix issue loading Azure OpenAI configuration

Because of asynchronous operations, loading *_cmd options from
configuration was not working properly. It was only working using the
environment variables.

Also add a missing options to set API type (api_type_cmd) from vim
config files instead of having to set a environment variable.

* style: fix linter findings and update README documentation

- Format README.md file to comply with regular MD guidelines (linter findings)
- Add information about new configuration options to configure Azure
  deployment programmatically.

* style(api): fix stylua style findings

---------

Co-authored-by: Alejandro Claro <[email protected]>
qaptoR pushed a commit to qaptoR-nvim/ChatGPT.nvim that referenced this pull request Jul 6, 2024
* fix(api): fix issue loading Azure OpenAI configuration

Because of asynchronous operations, loading *_cmd options from
configuration was not working properly. It was only working using the
environment variables.

Also add a missing options to set API type (api_type_cmd) from vim
config files instead of having to set a environment variable.

* style: fix linter findings and update README documentation

- Format README.md file to comply with regular MD guidelines (linter findings)
- Add information about new configuration options to configure Azure
  deployment programmatically.

* style(api): fix stylua style findings

---------

Co-authored-by: Alejandro Claro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants