Files
crewAI/lib
Devin AI c492cb084f fix: sanitize empty user message content in AnthropicCompletion
Fixes #4427. Anthropic API rejects messages with empty content for non-assistant
roles. This adds sanitization in _format_messages_for_anthropic to replace
empty or whitespace-only content in user messages with a single space placeholder.

Co-Authored-By: João <joao@crewai.com>
2026-02-09 19:44:49 +00:00
..