Update CodeWriterFlow.yaml
Browse files- CodeWriterFlow.yaml +5 -5
CodeWriterFlow.yaml
CHANGED
|
@@ -20,7 +20,7 @@ subflows_config:
|
|
| 20 |
azure: azure/gpt-4
|
| 21 |
|
| 22 |
Executor:
|
| 23 |
-
_target_:
|
| 24 |
subflows_config:
|
| 25 |
write_code:
|
| 26 |
_target_: Tachi67.InteractiveCodeGenFlowModule.InteractiveCodeGenFlow.instantiate_from_default_config
|
|
@@ -54,9 +54,9 @@ early_exit_key: "EARLY_EXIT"
|
|
| 54 |
topology:
|
| 55 |
- goal: "Select the next action and prepare the input for the executor."
|
| 56 |
input_interface:
|
| 57 |
-
_target_:
|
| 58 |
additional_transformations:
|
| 59 |
-
- _target_:
|
| 60 |
flow: Controller
|
| 61 |
output_interface:
|
| 62 |
_target_: CodeWriterFlow.detect_finish_or_continue
|
|
@@ -64,14 +64,14 @@ topology:
|
|
| 64 |
|
| 65 |
- goal: "Execute the action specified by the Controller."
|
| 66 |
input_interface:
|
| 67 |
-
_target_:
|
| 68 |
keys_to_rename:
|
| 69 |
command: branch
|
| 70 |
command_args: branch_input_data
|
| 71 |
keys_to_select: ["branch", "branch_input_data"]
|
| 72 |
flow: Executor
|
| 73 |
output_interface:
|
| 74 |
-
_target_:
|
| 75 |
keys_to_rename:
|
| 76 |
branch_output_data: observation
|
| 77 |
keys_to_unpack: ["observation"]
|
|
|
|
| 20 |
azure: azure/gpt-4
|
| 21 |
|
| 22 |
Executor:
|
| 23 |
+
_target_: aiflows.base_flows.BranchingFlow.instantiate_from_default_config
|
| 24 |
subflows_config:
|
| 25 |
write_code:
|
| 26 |
_target_: Tachi67.InteractiveCodeGenFlowModule.InteractiveCodeGenFlow.instantiate_from_default_config
|
|
|
|
| 54 |
topology:
|
| 55 |
- goal: "Select the next action and prepare the input for the executor."
|
| 56 |
input_interface:
|
| 57 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 58 |
additional_transformations:
|
| 59 |
+
- _target_: aiflows.data_transformations.KeyMatchInput
|
| 60 |
flow: Controller
|
| 61 |
output_interface:
|
| 62 |
_target_: CodeWriterFlow.detect_finish_or_continue
|
|
|
|
| 64 |
|
| 65 |
- goal: "Execute the action specified by the Controller."
|
| 66 |
input_interface:
|
| 67 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 68 |
keys_to_rename:
|
| 69 |
command: branch
|
| 70 |
command_args: branch_input_data
|
| 71 |
keys_to_select: ["branch", "branch_input_data"]
|
| 72 |
flow: Executor
|
| 73 |
output_interface:
|
| 74 |
+
_target_: aiflows.interfaces.KeyInterface
|
| 75 |
keys_to_rename:
|
| 76 |
branch_output_data: observation
|
| 77 |
keys_to_unpack: ["observation"]
|