Files
crewAI/tests/test_lite_agent.py
Devin AI c9159ea09a Fix Agent.kickoff() to pass custom system_template and prompt_template to LiteAgent
- Add system_template and prompt_template fields to LiteAgent class
- Update LiteAgent._get_default_system_prompt() to use custom templates when provided
- Pass template parameters from Agent.kickoff() and Agent.kickoff_async() to LiteAgent
- Add comprehensive tests to verify custom templates are passed and used correctly
- Maintain backward compatibility with default behavior when no templates provided

Fixes #3261

Co-Authored-By: João <joao@crewai.com>
2025-08-02 21:39:19 +00:00

23 KiB