diff options
| author | Duy Lam <duylamphuong@gmail.com> | 2023-09-09 22:13:42 +0700 |
|---|---|---|
| committer | Duy Lam <duylamphuong@gmail.com> | 2023-09-09 22:13:42 +0700 |
| commit | bca7ca15bdb82a0b32f11d44b44cf1ba42c68869 (patch) | |
| tree | 0e029702da5a4b07636bedf906f660e59806b819 /README.md | |
| parent | 924e3a390f043e979f16113f6b0a55f8c54b1f5e (diff) | |
| download | vim-ai-bca7ca15bdb82a0b32f11d44b44cf1ba42c68869.tar.gz | |
Include OpenAI Org ID from the token config
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -32,8 +32,14 @@ You only share and pay for what you specifically select, for prompts and chat co # save api key to `~/.config/openai.token` file echo "YOUR_OPENAI_API_KEY" > ~/.config/openai.token +# or save api key and org id to `~/.config/openai.token` file +#echo "YOUR_OPENAI_API_KEY,YOUR_OPENAI_ORG_ID" > ~/.config/openai.token + # alternatively set it as an environment variable export OPENAI_API_KEY="YOUR_OPENAI_API_KEY" + +# or set with org id +#export OPENAI_API_KEY="YOUR_OPENAI_API_KEY,YOUR_OPENAI_ORG_ID" ``` ### Using `vim-plug` |