Files
crewAI/tests
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-12-17 16:00:15 -05:00
2024-11-18 00:21:36 -03:00
2024-12-23 13:19:58 -05:00
2023-10-29 19:51:59 -03:00
2023-12-27 15:13:42 -05:00
2024-11-12 15:04:57 -03:00