Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def pvsnp(problem):
|
|
126 |
output.append(message.pretty_print())
|
127 |
print (output)'''
|
128 |
output = agent.invoke({"messages": "Use tools to answer: "+problem})
|
129 |
-
answer = output['messages']
|
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"""
|
|
|
126 |
output.append(message.pretty_print())
|
127 |
print (output)'''
|
128 |
output = agent.invoke({"messages": "Use tools to answer: "+problem})
|
129 |
+
answer = output['messages']
|
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"""
|