Fix MANAGER_LLM_MODEL default to sonnet (ar-tujw)#19
Open
atc964 wants to merge 1 commit into
Open
Conversation
…(ar-tujw)
The original Claude Opus 4 model does not support strict tools, which
crewai 1.14.6 requires. With the current default, the booking flow
(buyer) and any manager-LLM-driven crews silently fail with:
Error code: 400 - {'type': 'error', 'error': {'type':
'invalid_request_error', 'message': "'claude-opus-4-20250514' does
not support strict tools."}}
Switching to claude-sonnet-4-5-20250929 (parity with DEFAULT_LLM_MODEL)
resolves it. Discovered during EOD smoke test 2026-05-29 (ar-r82f.15).
bead: ar-tujw
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MANAGER_LLM_MODELdefaulted toanthropic/claude-opus-4-20250514, which does not support strict tools required by crewai 1.14.6'claude-opus-4-20250514' does not support strict toolsanthropic/claude-sonnet-4-5-20250929(parity withDEFAULT_LLM_MODEL)Discovered during EOD smoke test 2026-05-29 (ar-r82f.15). Tracked as bead [ar-tujw].
Test plan
.env.exampleto.env, setANTHROPIC_API_KEY, and run a manager-LLM-driven seller crew end-to-endMANAGER_LLM_MODELin.env.examplenow readsanthropic/claude-sonnet-4-5-20250929🤖 Generated with Claude Code