Files
crewAI/lib/crewai/tests
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
..
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-05-12 12:39:12 -07:00
2025-10-20 14:10:19 -07:00
2026-02-13 21:34:37 -03:00
2025-10-20 14:10:19 -07:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00