houssamDev commited on
Commit
eacc428
·
verified ·
1 Parent(s): 8e0a5f4

Update agent_api.py

Browse files
Files changed (1) hide show
  1. 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 str(out)
 
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