We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
api_key_command
ChatGPT.nvim offers a handy auth method that executes an external command to obtain an API key. This is really nice if you store your API key in e.g. 1Password: https://github.com/jackMort/ChatGPT.nvim#secrets-management
sg.nvim should offer the same thing.
The text was updated successfully, but these errors were encountered:
I currently have require('sg.auth').set(endpoint, token), which you could call in your setup if you wanted to provide alternative authentication.
require('sg.auth').set(endpoint, token)
Would that meet what you want to do? I'm not opposed to doing something similar to api_key_command though.
Sorry, something went wrong.
No branches or pull requests
ChatGPT.nvim offers a handy auth method that executes an external command to obtain an API key. This is really nice if you store your API key in e.g. 1Password: https://github.com/jackMort/ChatGPT.nvim#secrets-management
sg.nvim should offer the same thing.
The text was updated successfully, but these errors were encountered: