Spaces:
Sleeping
Sleeping
Update agent_api.py
Browse files- agent_api.py +1 -1
agent_api.py
CHANGED
|
@@ -155,4 +155,4 @@ agent = initialize_agent(tools=[filtered_tool,weather_search],llm=llm,memory=me
|
|
| 155 |
def sendPromptToAgent(prompt:str):
|
| 156 |
# Invoke the agent with a sample query and print the output
|
| 157 |
out= agent.invoke(prompt)
|
| 158 |
-
return
|
|
|
|
| 155 |
def sendPromptToAgent(prompt:str):
|
| 156 |
# Invoke the agent with a sample query and print the output
|
| 157 |
out= agent.invoke(prompt)
|
| 158 |
+
return out
|