Open interpreteragent opened 7 months ago
Running in python environment I get the error message - penai.py: Received openai error - Error code: 401 - {'error': {'message': 'Incorrect API key provided: x
However I believe I set the API key correctly via:
interpreter.llm.api_key 'real key shows up here'
interpreter.llm.api_key 'real key shows up here.' copy that.
interpreter.llm.api_key 'real key shows up here.' copy that.
copy that to where?
Why does it say the api key is 'x'. Received openai error - Error code: 401 - {'error': {'message': 'Incorrect API key provided: x
Also the CURL: POST Request Sent from LiteLLM: curl -X POST \ https://api.openai.com/v1/ \ -H 'Authorization: Bearer x' \
Is the API key not being passed? Where is 'x' coming from?
Is litellm actually trying to use the api key 'x'?
Here's what I've tried so far. Using verbose and debug.
os.environ["OPENAI_API_KEY"] = "your_openai_api_key"
All of these seem to result in the same error.
Okay. I solved it. But I don't understand how.
I installed miniconda and did a pip install open-interpreter inside a new conda env. (v2.0) Both the conda env interpreter and the previous one (cloned from this repo) (without refreshing bash or python) started working and actually sending the openai api key instead of 'x'.
Describe the bug
interpreter console freezes after user enters a request when using --debug, I can see that a prompt for gpt4 was generated but then interpreter simply hangs
Reproduce
Expected behavior
Screenshots
Open Interpreter version
0.2.4
Python version
3.11.2
Operating System name and version
debian 12
Additional context
No response