mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 09:08:31 +00:00
- Forward LLM configuration parameters (api_key, api_base, temperature, etc.) to instructor client for LiteLLM instances - Only forward parameters for LiteLLM instances (is_litellm=True) to avoid breaking non-LiteLLM paths - Filter out None values to prevent errors - Prefer max_tokens over max_completion_tokens when both are present - Fixes issue #3927 where A2A delegation lost LLM configuration when checking if remote agents are relevant Co-Authored-By: João <joao@crewai.com>