Commit Graph

5 Commits

Author SHA1 Message Date
João Moura
2c2b60410b improving test 2025-06-07 23:19:49 -07:00
Devin AI
db83843317 Fix lint error: remove unused LLM import from reasoning interval tests
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-06-07 23:18:24 -07:00
Devin AI
e947cb26ee Fix tests to properly mock LLM calls to avoid authentication errors
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-06-07 23:18:24 -07:00
Devin AI
53fed872f2 Fix lint errors and implement code review suggestions
- Remove unused imports (json, re)
- Add validation for reasoning_interval parameter
- Use deque for tools_used to prevent memory leaks
- Add type hints to all new methods
- Refactor adaptive reasoning logic for better readability
- Centralize event handling logic
- Expand test coverage with parametrized tests

Co-Authored-By: Joe Moura <joao@crewai.com>
2025-06-07 23:16:55 -07:00
Devin AI
923e3a9c6e Add reasoning_interval and adaptive_reasoning features
Co-Authored-By: Joe Moura <joao@crewai.com>
2025-06-07 23:16:38 -07:00