Looks like Anthropic LLMs, even the more capable ones like Claude 3.5 Sonnet, sometimes have difficulties and produce the Received None or empty response from LLM call
error as @frieda-huang reported in another topic.
In case you’re using one of the Anthropic LLMs, set the use_system_prompt
parameter to False
to the agent as @rtk suggested above, but that might cause some other issues down the road since system prompts in CrewAI exist to help agents to create the best final answer possible, not to cause issues. Or, you could simply switch the LLM provider to OpenAI, for example, if you’re LLM provider agnostic.
So, keep this in mind besides the two general rules I’ve suggested above: