You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The tip to save API key for future use-cases by exporting to bash/zsh configs shows a redundant next line character "\n".
This can confuse non-programmers when they directly copy-paste the command.
Exact response on terminal:
Tip: To save this key for later, run one of the following and then restart your
terminal.
MacOS: echo '\nexport OPENAI_API_KEY=your_api_key' >> ~/.zshrc
Linux: echo '\nexport OPENAI_API_KEY=your_api_key' >> ~/.bashrc
Windows: setx OPENAI_API_KEY your_api_key
Reproduce
Run interpreter for without OpenAI key set in the environment
Expected behavior
Tip: To save this key for later, run one of the following and then restart your
terminal.
MacOS: echo 'export OPENAI_API_KEY=your_api_key' >> ~/.zshrc
Linux: echo 'export OPENAI_API_KEY=your_api_key' >> ~/.bashrc
Windows: setx OPENAI_API_KEY your_api_key
Screenshots
No response
Open Interpreter version
0.3.4
Python version
3.10.12
Operating System name and version
Ubuntu 22.04
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
The tip to save API key for future use-cases by exporting to bash/zsh configs shows a redundant next line character "\n".
This can confuse non-programmers when they directly copy-paste the command.
Exact response on terminal:
Reproduce
Run interpreter for without OpenAI key set in the environment
Expected behavior
Screenshots
No response
Open Interpreter version
0.3.4
Python version
3.10.12
Operating System name and version
Ubuntu 22.04
Additional context
No response
The text was updated successfully, but these errors were encountered: