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
linux
Open Interpreter 0.4.3 Developer Preview
Python 3.11.9
pip 24.0
it's ok on shell mode with cli : interpreter, as shown followed
(api4fastgpt) [root@aitest profiles]# interpreter
▌ A new version of Open Interpreter is available.
▌ Please run: pip install --upgrade open-interpreter
────────────────────────────────────────────────────────────────────────────────
▌ Model set to openai/Qwen/Qwen2.5-7B-Instruct
Open Interpreter will require approval before running code.
Use interpreter -y to bypass this.
Press CTRL-C to exit.
> hi
We were unable to determine the context window of this model. Defaulting to
3000.
If your model can handle more, run interpreter --context_window {token limit}
--max_tokens {max tokens per response}.
Continuing...
Hello! How can I assist you today?
BUT failed on python mode, as followed
interpreter.py
(api4fastgpt) [root@aitest python3]# more interpreter.py
from interpreter import interpreter
interpreter.llm.model = "i"
interpreter.chat("who are you")
err messages as followed
(api4fastgpt) [root@aitest python3]# python3 interpreter.py
Traceback (most recent call last):
File "/root/python3/interpreter.py", line 1, in <module>
from interpreter import interpreter
File "/root/python3/interpreter.py", line 1, in <module>
from interpreter import interpreter
ImportError: cannot import name 'interpreter' from partially initialized module 'interpreter' (most likely due to a circular import) (/root/python3/interpreter.py)
The text was updated successfully, but these errors were encountered:
SDAIer
changed the title
py run error
python script failed
Jan 4, 2025
SDAIer
changed the title
python script failed
python script failed
Jan 4, 2025
linux
Open Interpreter 0.4.3 Developer Preview
Python 3.11.9
pip 24.0
it's ok on shell mode with cli : interpreter, as shown followed
BUT failed on python mode, as followed
interpreter.py
err messages as followed
The text was updated successfully, but these errors were encountered: