Files
crewAI/lib
Devin AI 2c547f5f99 Fix #5893: Relax model naming prefix filtering for custom-deployed models
- Update _matches_provider_pattern for anthropic to use 'in' (contains)
  check instead of strict startswith for 'claude' keyword, and accept
  any model starting with 'anthropic' regardless of separator character
- Add pattern-matching fallback to _infer_provider_from_model so custom
  model names without provider prefix are correctly routed
- Update _is_anthropic_model to also detect 'anthropic.' substring
- Update ANTHROPIC_PREFIXES constant for consistency
- Add regression tests for all affected methods

Co-Authored-By: João <joao@crewai.com>
2026-05-21 17:10:49 +00:00
..
2026-05-21 15:09:48 +08:00
2026-05-21 15:09:48 +08:00