| name: "TestCodeFlow" |
| description: "Test the code generated by InteractiveCodeGenFlow" |
|
|
| _target_: flow_modules.aiflows.TestCodeFlowModule.TestCodeFlow.instantiate_from_default_config |
|
|
| memory_files: ??? |
|
|
| input_interface: |
| - "code" |
|
|
| output_interface: |
| - "feedback" |
|
|
| subflows_config: |
| TestCodeFileEdit: |
| _target_: flow_modules.aiflows.TestCodeFlowModule.TestCodeFileEditAtomicFlow.instantiate_from_default_config |
|
|
| CodeTesting: |
| _target_: flow_modules.aiflows.TestCodeFlowModule.CodeTestingAtomicFlow.instantiate_from_default_config |
|
|
| early_exit_key: "EARLY_EXIT" |
|
|
| topology: |
| - goal: "Write the code & instructions for testing to a temp file" |
| input_interface: |
| _target_: aiflows.interfaces.KeyInterface |
| additional_transformations: |
| - _target_: aiflows.data_transformations.KeyMatchInput |
| flow: TestCodeFileEdit |
| reset: false |
|
|
| - goal: "Test the code" |
| input_interface: |
| _target_: aiflows.interfaces.KeyInterface |
| additional_transformations: |
| - _target_: aiflows.data_transformations.KeyMatchInput |
| flow: CodeTesting |
| reset: false |
|
|