Files
crewAI/lib
Devin AI 992321f679 fix: also skip response_model passthrough to litellm when tools are present
Addresses review feedback: when tools are present, response_model must not
be passed to litellm.completion/acompletion either, because litellm uses
instructor internally which would override the tools parameter.

Added 2 more tests that explicitly verify response_model is NOT in the
kwargs sent to litellm when tools are present.

Co-Authored-By: João <joao@crewai.com>
2026-03-04 12:48:53 +00:00
..
2026-02-27 09:44:47 -05:00