-
Notifications
You must be signed in to change notification settings - Fork 47
Description
python agent.py run
Enter your query: https://inverbathrooms.ie/ extract : Contact informations headquarter or any location offices all phones with details any team member , managmenet member listed give me names and contact also all adressess including HQ, other locations , distributors make the result pretty read able and explain
gives error:
Error: 'choices' key not found in response. Using empty content.
Integration Agent:
Traceback (most recent call last):
File "/home/bc/Projects/custom_agent_tutorial/agent.py", line 166, in
agent.execute()
File "/home/bc/Projects/custom_agent_tutorial/agent.py", line 151, in execute
plan = self.run_planning_agent(query, plan=plan, outputs=outputs, feedback=response)
File "/home/bc/Projects/custom_agent_tutorial/agent.py", line 54, in run_planning_agent
content = response_dict['choices'][0]['message']['content']
KeyError: 'choices'