I'm extracting the code interpreter part from open-interpreter because the litellm version of open-interpreter
is not compatible with that of the current version of aiflows(v.0.1.7).
set_up_flow_state
def set_up_flow_state()
class-specific flow state: language and code, which describes the programming language and the code to run.
run
def run(input_message: FlowMessage)
Run the code interpreter and return the output.
Arguments:
input_message (FlowMessage): The input message of the flow.