Update ParseFeedbackAtomicFlow.py
Browse files
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, "
|
| 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, "
|
| 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
|