Sw1ft0 commited on
Commit
42fd5ec
·
1 Parent(s): cae21d8

Fix arguments

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -18,7 +18,7 @@ def ask_agent(user_message, history=[]):
18
  ],
19
  }
20
  ],
21
- tools=[{"type": "code_interpreter"}], # Python sandbox for calculations
22
  )
23
 
24
  # Extract text output
 
18
  ],
19
  }
20
  ],
21
+ tools=[{"type": "code_interpreter", "container": "python"}], # Python sandbox for calculations
22
  )
23
 
24
  # Extract text output