Prasanthkumar commited on
Commit
d349090
·
verified ·
1 Parent(s): cb80c22

Update tools/code_interpreter_tools.py

Browse files
Files changed (1) hide show
  1. tools/code_interpreter_tools.py +1 -1
tools/code_interpreter_tools.py CHANGED
@@ -311,7 +311,7 @@ def execute_code_multilang(code: str, language: str = "python") -> str:
311
  code (str): the source code to execute
312
  language (str): the language of the code
313
  """
314
- result = interpreter_instance.execute_code(code, language)
315
  response = []
316
 
317
  if result["status"] == "success":
 
311
  code (str): the source code to execute
312
  language (str): the language of the code
313
  """
314
+ result = interpreter.execute_code(code, language)
315
  response = []
316
 
317
  if result["status"] == "success":