Files
crewAI/lib/crewai/tests
Devin AI d00f7a7960 fix: strip cache_breakpoint from LiteLLM path for non-Anthropic providers
The LiteLLM-based LLM.call() (used by Groq, OpenAI-compatible, etc.)
does not go through BaseLLM._format_messages() which strips the
cache_breakpoint flag. This causes providers like Groq to reject
messages with 'cache_breakpoint' as an unsupported property.

Strip the flag in _prepare_completion_params() so it is removed from
the wire payload for all providers using the LiteLLM code path.

Fixes #5886

Co-Authored-By: João <joao@crewai.com>
2026-05-21 10:10:46 +00:00
..
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2025-10-20 14:10:19 -07:00
2026-02-13 21:34:37 -03:00
2025-10-20 14:10:19 -07:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00