tom-doerr / zsh_codex

This is a ZSH plugin that enables you to use OpenAI's Codex AI in the command line.
MIT License
1.42k stars 72 forks source link

Invalid Request error - Engine not found #13

Closed stonelazy closed 2 years ago

stonelazy commented 2 years ago

Steps done to install zsh_codex
1.) Installed openai using pip install openai 2.) Clone the repo with the given link, in my custom dir.
3.) Added source "$ZSH_CUSTOM/plugins/zsh_codex/zsh_codex.plugin.zsh" to my .zshrc
4.) Created openaipirc with the secrets generated from https://beta.openai.com/account/api-keys

image
tom-doerr commented 2 years ago

Do you have access to Codex and some payment method associated with your account? Although Codex usage isn't charged, you may need some credits as balance or a payment method for your account to work: https://github.com/tom-doerr/vim_codex/issues/12

stonelazy commented 2 years ago

Oh ! I didn't know i need to have sufficient access for this. Thanks for the quick reply.