Tachi67 commited on
Commit
c66e31a
·
1 Parent(s): a08a38e

Update ControllerAtomicFlow.py

Browse files
Files changed (1) hide show
  1. ControllerAtomicFlow.py +3 -2
ControllerAtomicFlow.py CHANGED
@@ -114,10 +114,11 @@ class ControllerAtomicFlow(OpenAIChatAtomicFlow):
114
  plan_to_append = self._get_plan()
115
  function_signatures_to_append = self._get_library_function_signatures()
116
  self.system_message_prompt_template.template = \
117
- self.original_system_template + "\n" + f"Here are the available functions at {self.code_file_location}\n" \
118
  + function_signatures_to_append + "\n" \
119
  + f"Here is the step-by-step plan to achieve the goal:\n" \
120
- + plan_to_append + "\n"
 
121
 
122
  api_output = super().run(input_data)["api_output"].strip()
123
 
 
114
  plan_to_append = self._get_plan()
115
  function_signatures_to_append = self._get_library_function_signatures()
116
  self.system_message_prompt_template.template = \
117
+ self.original_system_template + "\n\n" + f"Here are the available functions at {self.code_file_location}\n" \
118
  + function_signatures_to_append + "\n" \
119
  + f"Here is the step-by-step plan to achieve the goal:\n" \
120
+ + plan_to_append + "\n\n" + f"Make sure the plan your write is at {self.plan_file_location}\n" \
121
+ + f"Make sure the code you call the code writer to write is at {self.code_file_location}"
122
 
123
  api_output = super().run(input_data)["api_output"].strip()
124