Spaces:
Runtime error
Runtime error
Update agents/critic.py
Browse files- agents/critic.py +5 -1
agents/critic.py
CHANGED
|
@@ -1 +1,5 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from app import llm_model
|
| 2 |
+
|
| 3 |
+
def review_result(step, result):
|
| 4 |
+
prompt = f"Review the result of this step:\nStep: {step}\nResult: {result}\nIs it correct?"
|
| 5 |
+
return llm_model(prompt)
|