Tachi67 commited on
Commit
bf3ac04
·
1 Parent(s): 17ed858

Update ControllerFlow_ExtLib.yaml

Browse files
Files changed (1) hide show
  1. ControllerFlow_ExtLib.yaml +6 -3
ControllerFlow_ExtLib.yaml CHANGED
@@ -14,6 +14,7 @@ input_interface_non_initialized: # initial input keys
14
  - "logs"
15
 
16
  input_interface_initialized:
 
17
  - "result"
18
  - "memory_files"
19
  - "plan"
@@ -62,6 +63,9 @@ system_message_prompt_template:
62
  template: |2-
63
  Your department is in charge of writing code and extending the code library with the code written. You are the leader of this department.
64
 
 
 
 
65
  You work with several subordinates, they will be in charge of the specific tasks, including writing code, saving code to the library, etc.
66
 
67
  You are given a step-by-step plan to finish the goal, **notice that, if you are informed that the plan is overriden, this plan is the new plan you should stick to.**, the plan is located in a plan file {{plan_file_location}}:
@@ -120,7 +124,7 @@ system_message_prompt_template:
120
 
121
  Available Functions:
122
  {{commands}}
123
- input_variables: ["commands", "plan_file_location", "plan", "logs"]
124
  template_format: jinja2
125
 
126
  human_message_prompt_template:
@@ -142,5 +146,4 @@ init_human_message_prompt_template:
142
  template_format: jinja2
143
 
144
  previous_messages:
145
- first_k: 2
146
- last_k: 1
 
14
  - "logs"
15
 
16
  input_interface_initialized:
17
+ - "goal"
18
  - "result"
19
  - "memory_files"
20
  - "plan"
 
63
  template: |2-
64
  Your department is in charge of writing code and extending the code library with the code written. You are the leader of this department.
65
 
66
+ Here is the goal you need to achieve, follow your plan to finish the goal:
67
+ {{goal}}
68
+
69
  You work with several subordinates, they will be in charge of the specific tasks, including writing code, saving code to the library, etc.
70
 
71
  You are given a step-by-step plan to finish the goal, **notice that, if you are informed that the plan is overriden, this plan is the new plan you should stick to.**, the plan is located in a plan file {{plan_file_location}}:
 
124
 
125
  Available Functions:
126
  {{commands}}
127
+ input_variables: ["commands", "plan_file_location", "plan", "logs", "goal"]
128
  template_format: jinja2
129
 
130
  human_message_prompt_template:
 
146
  template_format: jinja2
147
 
148
  previous_messages:
149
+ last_k: 3