#487 Performance: len() with list comprehension in agent.py

closed low Created 2025-12-17 02:25 · Updated 2025-12-17 02:30

Description

Edit
engine/tools/agent.py:303 - len([h for h in history if ...]) builds list just to count. FIX: sum(1 for h in history if ...)

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...