MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / __init__

Method __init__

bmtools/tools/code_interpreter/api.py:4–7  ·  view source on GitHub ↗
(self, timeout=300)

Source from the content-addressed store, hash-verified

2
3class CodeInterpreter:
4 def __init__(self, timeout=300):
5 self.globals = {}
6 self.locals = {}
7 self.timeout = timeout
8
9 def execute_code(self, code):
10 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected