Files
crewAI/lib/crewai/tests
Devin AI 8574d9e99a Fix response_format parameter to support Pydantic BaseModel classes
- Add conversion of Pydantic BaseModel classes to json_schema format in _prepare_completion_params
- Add parsing of JSON responses back into Pydantic models in _handle_non_streaming_response
- Ensure response_model parameter takes precedence over response_format
- Add three comprehensive tests covering Pydantic model conversion, dict passthrough, and precedence
- Fix test fixture decorator issue (removed @pytest.mark.vcr from anthropic_llm fixture)

Fixes #3959

Co-Authored-By: João <joao@crewai.com>
2025-11-20 18:16:39 +00:00
..
2025-11-15 20:48:40 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-11-13 10:11:50 -08:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-11-15 20:48:40 -05:00
2025-10-20 14:10:19 -07:00
2025-11-19 01:28:25 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-11-15 20:48:40 -05:00
2025-10-20 14:10:19 -07:00