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
When I want to test the e2b example, I found the following error would be reported when running.
{'role': 'user', 'type': 'message', 'content': 'a test'}
Traceback (most recent call last):
File "/Users/eric/Desktop/py/codeinterpreter/e2b_test.py", line 56, in
interpreter.chat()
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 167, in chat
for _ in self._streaming_chat(message=message, display=display):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 196, in _streaming_chat
yield from terminal_interface(self, message)
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/terminal_interface/terminal_interface.py", line 136, in terminal_interface
for chunk in interpreter.chat(message, display=False, stream=True):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 235, in _streaming_chat
yield from self._respond_and_store()
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 281, in _respond_and_store
for chunk in respond(self):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/respond.py", line 36, in respond
output = interpreter.computer.run(
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/computer/computer.py", line 65, in run
return self.terminal.run(*args, **kwargs)
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/computer/terminal/terminal.py", line 55, in run
for chunk in self._streaming_run(language, code, display=display):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/computer/terminal/terminal.py", line 77, in _streaming_run
if lang_class.init.code.co_argcount > 1:
AttributeError: 'wrapper_descriptor' object has no attribute 'code'. Did you mean: 'call'?
Describe the bug
When I want to test the e2b example, I found the following error would be reported when running.
Traceback (most recent call last):
File "/Users/eric/Desktop/py/codeinterpreter/e2b_test.py", line 56, in
interpreter.chat()
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 167, in chat
for _ in self._streaming_chat(message=message, display=display):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 196, in _streaming_chat
yield from terminal_interface(self, message)
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/terminal_interface/terminal_interface.py", line 136, in terminal_interface
for chunk in interpreter.chat(message, display=False, stream=True):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 235, in _streaming_chat
yield from self._respond_and_store()
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/core.py", line 281, in _respond_and_store
for chunk in respond(self):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/respond.py", line 36, in respond
output = interpreter.computer.run(
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/computer/computer.py", line 65, in run
return self.terminal.run(*args, **kwargs)
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/computer/terminal/terminal.py", line 55, in run
for chunk in self._streaming_run(language, code, display=display):
File "/Users/eric/mambaforge/lib/python3.10/site-packages/interpreter/core/computer/terminal/terminal.py", line 77, in _streaming_run
if lang_class.init.code.co_argcount > 1:
AttributeError: 'wrapper_descriptor' object has no attribute 'code'. Did you mean: 'call'?
Reproduce
1.copy the demo from https://docs.openinterpreter.com/integrations/e2b;
2.run
Expected behavior
AttributeError: 'wrapper_descriptor' object has no attribute 'code'. Did you mean: 'call'?
Screenshots
No response
Open Interpreter version
Version: 0.2.4
Python version
3.10.10
Operating System name and version
macOS14
Additional context
No response
The text was updated successfully, but these errors were encountered: