Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions aieng-agents/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@ await manager.close()
```python
from aieng.agents.tools.code_interpreter import CodeInterpreter

interpreter = CodeInterpreter(
template="<your template ID>",
timeout=300,
)
interpreter = CodeInterpreter(template_name="<your template ID>")

result = await interpreter.run_code(
code="""
Comment thread
fcogidi marked this conversation as resolved.
Expand All @@ -172,8 +169,7 @@ y = np.sin(x)
plt.plot(x, y)
plt.title("Sine Wave")
plt.savefig("sine_wave.png")
""",
files=[]
"""
)

print(result.stdout)
Expand Down
Loading
Loading