Tachi67 commited on
Commit
f6d515d
·
1 Parent(s): 345e6fe

Update ParseFeedbackAtomicFlow.py

Browse files
Files changed (1) hide show
  1. ParseFeedbackAtomicFlow.py +2 -2
ParseFeedbackAtomicFlow.py CHANGED
@@ -73,14 +73,14 @@ class ParseFeedbackAtomicFlow(AtomicFlow):
73
  self._check_input(input_data)
74
  if "temp_code_file_location" in input_data:
75
  temp_code_file_location = input_data['temp_code_file_location']
76
- self._open_file_and_wait_for_file_update(temp_code_file_location, last_check_time)
77
  code_content = self._read_content(temp_code_file_location, "code")
78
  user_thoughts = self._parse_user_thoughts(temp_code_file_location)
79
  response = {"code": code_content, "feedback": user_thoughts}
80
 
81
  elif "temp_plan_file_location" in input_data:
82
  plan_file_location = input_data["temp_plan_file_location"]
83
- self._open_file_and_wait_for_file_update(plan_file_location, last_check_time)
84
  plan_content = self._read_content(plan_file_location, "plan")
85
  user_thoughts = self._parse_user_thoughts(plan_file_location)
86
  response = {"plan": plan_content, "feedback": user_thoughts}
 
73
  self._check_input(input_data)
74
  if "temp_code_file_location" in input_data:
75
  temp_code_file_location = input_data['temp_code_file_location']
76
+ self._open_file_and_wait_for_file_update(temp_code_file_location)
77
  code_content = self._read_content(temp_code_file_location, "code")
78
  user_thoughts = self._parse_user_thoughts(temp_code_file_location)
79
  response = {"code": code_content, "feedback": user_thoughts}
80
 
81
  elif "temp_plan_file_location" in input_data:
82
  plan_file_location = input_data["temp_plan_file_location"]
83
+ self._open_file_and_wait_for_file_update(plan_file_location)
84
  plan_content = self._read_content(plan_file_location, "plan")
85
  user_thoughts = self._parse_user_thoughts(plan_file_location)
86
  response = {"plan": plan_content, "feedback": user_thoughts}