Update Controller_CoderFlow.yaml
Browse files
Controller_CoderFlow.yaml
CHANGED
@@ -15,6 +15,7 @@ input_interface_non_initialized: # initial input keys
|
|
15 |
- "code_library"
|
16 |
|
17 |
input_interface_initialized:
|
|
|
18 |
- "result"
|
19 |
- "memory_files"
|
20 |
- "plan"
|
@@ -64,6 +65,9 @@ system_message_prompt_template:
|
|
64 |
template: |2-
|
65 |
Your department is in charge of achieving goals with writing and executing code. You are the leader of this department.
|
66 |
|
|
|
|
|
|
|
67 |
You have a code library located at {{code_library_location}}, which contains functions that are already written and saved by your subordinates.
|
68 |
Here are the functions in the library:
|
69 |
{{code_library}}
|
@@ -137,7 +141,7 @@ system_message_prompt_template:
|
|
137 |
}
|
138 |
Ensure your responses can be parsed by Python json.loads
|
139 |
|
140 |
-
input_variables: ["commands", "plan_file_location", "plan", "logs", "code_library_location", "code_library"]
|
141 |
template_format: jinja2
|
142 |
|
143 |
human_message_prompt_template:
|
@@ -160,5 +164,4 @@ init_human_message_prompt_template:
|
|
160 |
|
161 |
|
162 |
previous_messages:
|
163 |
-
|
164 |
-
last_k: 1
|
|
|
15 |
- "code_library"
|
16 |
|
17 |
input_interface_initialized:
|
18 |
+
- "goal"
|
19 |
- "result"
|
20 |
- "memory_files"
|
21 |
- "plan"
|
|
|
65 |
template: |2-
|
66 |
Your department is in charge of achieving goals with writing and executing code. You are the leader of this department.
|
67 |
|
68 |
+
Here is the goal you need to achieve:
|
69 |
+
{{goal}}
|
70 |
+
|
71 |
You have a code library located at {{code_library_location}}, which contains functions that are already written and saved by your subordinates.
|
72 |
Here are the functions in the library:
|
73 |
{{code_library}}
|
|
|
141 |
}
|
142 |
Ensure your responses can be parsed by Python json.loads
|
143 |
|
144 |
+
input_variables: ["commands", "plan_file_location", "plan", "logs", "code_library_location", "code_library", "goal"]
|
145 |
template_format: jinja2
|
146 |
|
147 |
human_message_prompt_template:
|
|
|
164 |
|
165 |
|
166 |
previous_messages:
|
167 |
+
last_k: 3
|
|