Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -130,10 +130,11 @@ def pvsnp(problem):
|
|
| 130 |
critic_answer = llm_response(f'''Given the problem: {problem} and the agent response: {answer}, come up with a user friendly explanation that highlights the answer along
|
| 131 |
with the tools leveraged.''')
|
| 132 |
final_answer = f"""
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
Critic's Response:
|
| 136 |
{critic_answer}
|
|
|
|
|
|
|
|
|
|
| 137 |
"""
|
| 138 |
return final_answer
|
| 139 |
|
|
|
|
| 130 |
critic_answer = llm_response(f'''Given the problem: {problem} and the agent response: {answer}, come up with a user friendly explanation that highlights the answer along
|
| 131 |
with the tools leveraged.''')
|
| 132 |
final_answer = f"""
|
| 133 |
+
Observer's Response:
|
|
|
|
|
|
|
| 134 |
{critic_answer}
|
| 135 |
+
|
| 136 |
+
Agent's Raw Response: {answer}
|
| 137 |
+
|
| 138 |
"""
|
| 139 |
return final_answer
|
| 140 |
|