Features:
- Turn limiting for decision nodes to prevent infinite loops
- Configurable max turns (default: 10, customizable per agent)
- Automatic redirect to final answer when limit reached
- Comprehensive event metadata for monitoring and debugging
- Enhanced AgentNode configuration with maxTurns parameter
Improvements:
- Better loop prevention mechanism
- Transparent turn count tracking
- Informative reasoning when limits are reached
- Updated sales agent example with turn limiting
This release ensures more reliable agent behavior by preventing infinite decision loops while maintaining full transparency about execution flow.