- 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>
* Update llms.mdx (Gemini 2.0)
- Add Gemini 2.0 flash to Gemini table.
- Add link to 2 hosting paths for Gemini in Tip.
- Change to lower case model slugs vs names, user convenience.
- Add https://artificialanalysis.ai/ as alternate leaderboard.
- Move Gemma to "other" tab.
* Update llm.py (gemini 2.0)
Add setting for Gemini 2.0 context window to llm.py
---------
Co-authored-by: Brandon Hancock (bhancock_ai) <109994880+bhancockio@users.noreply.github.com>
* rebuilding executor
* removing langchain
* Making all tests good
* fixing types and adding ability for nor using system prompts
* improving types
* pleasing the types gods
* pleasing the types gods
* fixing parser, tools and executor
* making sure all tests pass
* final pass
* fixing type
* Updating Docs
* preparing to cut new version