Update Controller_CoderFlow.py
Browse files- Controller_CoderFlow.py +1 -1
Controller_CoderFlow.py
CHANGED
|
@@ -119,7 +119,7 @@ class Controller_CoderFlow(ChatAtomicFlow):
|
|
| 119 |
except (json.decoder.JSONDecodeError, json.JSONDecodeError):
|
| 120 |
new_goal = f"Here is your previous response {api_output}, it cannot be parsed with json.loads, please fix this issue."
|
| 121 |
new_input_data = input_data.copy()
|
| 122 |
-
new_input_data['
|
| 123 |
new_api_output = super().run(new_input_data)["api_output"].strip()
|
| 124 |
return json.loads(new_api_output)
|
| 125 |
|
|
|
|
| 119 |
except (json.decoder.JSONDecodeError, json.JSONDecodeError):
|
| 120 |
new_goal = f"Here is your previous response {api_output}, it cannot be parsed with json.loads, please fix this issue."
|
| 121 |
new_input_data = input_data.copy()
|
| 122 |
+
new_input_data['result'] = new_goal
|
| 123 |
new_api_output = super().run(new_input_data)["api_output"].strip()
|
| 124 |
return json.loads(new_api_output)
|
| 125 |
|