InterpreterFlowModule / code_interpreters /base_code_interpreter.py
Tachi67's picture
add code interpreter from open-interpreter
fcdf91d
raw
history blame contribute delete
239 Bytes
class BaseCodeInterpreter:
"""
.run is a generator that yields a dict with attributes: active_line, output
"""
def __init__(self):
pass
def run(self, code):
pass
def terminate(self):
pass