Closed sudoskys closed 7 months ago
Hi @sudoskys, thanks for reporting this! In the meantime, can you please provide minimal reproducible example?
Also @sudoskys check out our new SDK for building code interpreter like features. It might be a better fit - https://github.com/e2b-dev/code-interpreter
Hi @sudoskys, thanks for reporting this! In the meantime, can you please provide minimal reproducible example
import e2b
api_key="your_key"
stdout, stderr = e2b.run_code("Node16", "const result = (1+2+3) * 100; result", api_key=api_key)
Also @sudoskys check out our new SDK for building code interpreter like features. It might be a better fit - https://github.com/e2b-dev/code-interpreter
OK, I'll check it out, thanks for your response
Solved by removing nest_asyncio
Code here: https://github.com/LlmKira/Openaibot/blob/236c843e67ae1302018d6c812b61f3d4eb0ca4a7/llmkira/extra/plugins/e2b_code_interpreter/__init__.py#L36