Files
crewAI/lib/crewai/tests
Devin AI 88f653cb4a fix: forward base_url and api_key from LLM to instructor client (#5204)
InternalInstructor._create_instructor_client() was discarding base_url
and api_key when calling instructor.from_provider(), causing requests
to go to api.openai.com instead of the configured endpoint.

Added _get_llm_extra_kwargs() to extract base_url and api_key from the
LLM object and forward them as kwargs to instructor.from_provider().
This fixes OpenAI-compatible endpoints (vLLM, Ollama, etc.) when using
output_pydantic or output_json on tasks.

Co-Authored-By: João <joao@crewai.com>
2026-04-01 10:19:46 +00:00
..
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2025-10-20 14:10:19 -07:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08: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
2025-10-20 14:10:19 -07:00