mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 21:58:11 +00:00
- Use explicit type annotation for original_max_tokens in preload_probe - Use self.__setattr__ to avoid type mismatch with subclass fields - Replace hasattr checks with isinstance(agent.llm, BaseLLM) for proper type narrowing - Ensure _get_agent_system_prompt returns str without Any leak Co-Authored-By: João <joao@crewai.com>