jackMort / ChatGPT.nvim

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

how could one use an `api_key_cmd` that requires sudo. #322

Closed molleweide closed 10 months ago

molleweide commented 10 months ago

Hi everybody,

Does anyone know if there is a way to use an api_key_cmd that requires sudo to retrieve the api key? Or in other words, is there a way to make neovim promp for the password when it is running the job for retrieving the api key?

jumski commented 7 months ago

@molleweide have you solved this? i'm trying to use bitwarden-cli but it is not prompted for vault password :-(

molleweide commented 7 months ago

@molleweide have you solved this? i'm trying to use bitwarden-cli but it is not prompted for vault password :-(

No, but now it seems 1password triggers their auth automatically so the issue resolved even though the original issue still bugs me a bit that i cant solve it