Files
crewAI/src/crewai/agents
Devin AI 181a8c1a24 Fix #5808: Add support for Claude 4.7 Opus (no assistant prefill, drop temperature)
- Add LLM.supports_assistant_prefill() to detect Anthropic models that
  reject trailing assistant messages (Claude 4.6+)
- Add CrewAgentExecutor._append_assistant_response() to split the
  observation into a separate user-role message for no-prefill models,
  ensuring the conversation never ends with an assistant turn
- Drop the temperature parameter for Claude 4.6+ models that reject it
- Add 17 unit tests covering detection, temperature dropping, and
  message splitting behaviour

Co-Authored-By: João <joao@crewai.com>
2026-05-14 12:22:22 +00:00
..
2024-08-23 10:52:36 -03:00