Tachi67 commited on
Commit
35abdce
·
1 Parent(s): 834a4f1

Update ParseFeedbackAtomicFlow.py

Browse files
Files changed (1) hide show
  1. ParseFeedbackAtomicFlow.py +2 -2
ParseFeedbackAtomicFlow.py CHANGED
@@ -77,7 +77,7 @@ class ParseFeedbackAtomicFlow(AtomicFlow):
77
  self._wait_for_file_update(temp_code_file_location, last_check_time)
78
  code_content = self._read_content(temp_code_file_location, "code")
79
  user_thoughts = self._parse_user_thoughts(temp_code_file_location)
80
- response = {"code": code_content, "human_feedback": user_thoughts}
81
 
82
  elif "plan_file_location" in input_data:
83
  plan_file_location = input_data['plan_file_location']
@@ -85,6 +85,6 @@ class ParseFeedbackAtomicFlow(AtomicFlow):
85
  self._wait_for_file_update(plan_file_location, last_check_time)
86
  plan_content = self._read_content(plan_file_location, "plan")
87
  user_thoughts = self._parse_user_thoughts(plan_file_location)
88
- response = {"plan": plan_content, "human_feedback": user_thoughts}
89
 
90
  return response
 
77
  self._wait_for_file_update(temp_code_file_location, last_check_time)
78
  code_content = self._read_content(temp_code_file_location, "code")
79
  user_thoughts = self._parse_user_thoughts(temp_code_file_location)
80
+ response = {"code": code_content, "feedback": user_thoughts}
81
 
82
  elif "plan_file_location" in input_data:
83
  plan_file_location = input_data['plan_file_location']
 
85
  self._wait_for_file_update(plan_file_location, last_check_time)
86
  plan_content = self._read_content(plan_file_location, "plan")
87
  user_thoughts = self._parse_user_thoughts(plan_file_location)
88
+ response = {"plan": plan_content, "feedback": user_thoughts}
89
 
90
  return response