Skip to content

v2.0

Choose a tag to compare

@GiovanniPasq GiovanniPasq released this 24 Feb 07:46
· 29 commits to main since this release
f0e1bff

New Features:

  1. 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.

  2. 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:

  1. 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.