map to string messages in the list
Browse files
app.py
CHANGED
|
@@ -232,8 +232,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
| 232 |
|
| 233 |
def check_agent(question: str):
|
| 234 |
agent = BasicAgent()
|
| 235 |
-
final_answer,
|
| 236 |
-
return final_answer, "\n".join(
|
| 237 |
|
| 238 |
|
| 239 |
# --- Build Gradio Interface using Blocks ---
|
|
|
|
| 232 |
|
| 233 |
def check_agent(question: str):
|
| 234 |
agent = BasicAgent()
|
| 235 |
+
final_answer, msgs = agent(question)
|
| 236 |
+
return final_answer, "\n".join([str(msg) for msg in msgs])
|
| 237 |
|
| 238 |
|
| 239 |
# --- Build Gradio Interface using Blocks ---
|