Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def respond_in_assistant_thread(
|
|
62 |
query = payload['blocks'][0]['elements'][0]['elements'][0]['text']
|
63 |
|
64 |
# Pass the latest prompt and chat history to the LLM (call_llm is your own code)
|
65 |
-
agent_gen = agent.run(task=query, stream=True, url="https://slack.engineering/slack-audit-logs-and-anomalies/")
|
66 |
|
67 |
for val in agent_gen:
|
68 |
if 'final_answer' in val:
|
|
|
62 |
query = payload['blocks'][0]['elements'][0]['elements'][0]['text']
|
63 |
|
64 |
# Pass the latest prompt and chat history to the LLM (call_llm is your own code)
|
65 |
+
agent_gen = agent.run(task=query, stream=True, url="https://slack.engineering/slack-audit-logs-and-anomalies/", xkcd_url="https://xkcd.com/info.0.json")
|
66 |
|
67 |
for val in agent_gen:
|
68 |
if 'final_answer' in val:
|