Update InteractiveCodeGenFlow.py
Browse files7 unmodified lines89101112137 unmodified lineslog = logging.get_logger(__name__)class InteractiveCodeGenFlow(SequentialFlow):REQUIRED_KEYS_CONFIG = ["max_rounds", "early_exit_key", "topology", "memory_files"]def __init__(7 unmodified lines891011121314151617181920212223242526277 unmodified lineslog = logging.get_logger(__name__)class InteractiveCodeGenFlow(SequentialFlow):"""This flow writes code in an interactive manner. It is a sequential flow composed of:1. MemoryReading: reads in the code library.2. CodeGenerator: generates code based on the goal and functions in the code library.3. CodeFileEditor: writes the generated code to a temp file for the user to see, edit and provide feedback.4. ParseFeedback: opens up the temp file with vscode and parses the feedback from the user.*Input Interface*:- `goal`*Output Interface*:- `code`- `feedback`- `temp_code_file_location`"""REQUIRED_KEYS_CONFIG = ["max_rounds", "early_exit_key", "topology", "memory_files"]def __init__(
InteractiveCodeGenFlow.py+14