v2.0
New Features:
-
Context Compression
• Compresses the agent's working memory when the context exceeds a configurable token threshold.
• Prevents redundant tool calls across long retrieval loops. Tunable via BASE_TOKEN_THRESHOLD and TOKEN_GROWTH_FACTOR. -
Agent Limits & Fallback Response
• Introduced hard caps on tool invocations (MAX_TOOL_CALLS) and reasoning loop iterations (MAX_ITERATIONS) to ensure bounded execution.
• When either limit is reached, the agent falls back to a dedicated response node, using all context retrieved so far to generate the best possible answer rather than failing silently.
Improvements:
- Enhanced Notebook Documentation
• Expanded and clarified comments for each code block, including references to official documentation.
• Improves readability and helps users better understand each pipeline component.