crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

Invalid Format: Missing 'Action Input:' after 'Action:'

Open vansen opened this issue 6 months ago • 4 comments

Hi Everyone,

I need some help here, since I dont know why this behaviour is happening. I am using the sample from the readme file directly. All I adjusted, is using the Azure OpenAI Service and set this as llm for the agents.

When I start the script, I get an endless loop when it tries to call the duckduckgo_search action:

> Entering new CrewAgentExecutor chain... Thought: Do I need to use a tool? Yes Action: duckduckInvalid Format: Missing 'Action Input:' after 'Action:'Do I need to use a tool? Yes Action: duckduckgo_searchInvalid Format: Missing 'Action Input:' after 'Action:'Do I need to use a tool? Yes

I hope this was sufficient - let me know if anymore details are needed. What may be wrong or what are your suggestions to make this work? I have the same issue with the search action from the trip_planner example.

Thank you, Best, Oliver

vansen avatar Jan 11 '24 15:01 vansen