Repository navigation
Tools skip next - #1196
Tools skip next#1196
Conversation
WalkthroughRenamed the gating flag from hasNext to skipNext across the tools agent flow, updated conditional wiring to use skipNext, adjusted tests accordingly, and bumped the package version with a real test script. No public APIs changed. Changes
Sequence Diagram(s)sequenceDiagram
actor Caller
participant ToolsAgent
participant Graph
participant SkipNextNode
participant toolsResponseLLM
participant skipToolsResponseLLM
Caller->>ToolsAgent: invoke
ToolsAgent->>Graph: run pipeline
Graph->>SkipNextNode: evaluate skipNext from toolsAgentResponse[]
alt skipNext = false
Graph->>toolsResponseLLM: execute (unless :skipNext)
else skipNext = true
Graph->>skipToolsResponseLLM: execute (if :skipNext)
end
Graph-->>Caller: result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (4)
🧰 Additional context used🧬 Code Graph Analysis (1)llm_agents/tools_agent/lib/tools_agent.js (2)
🔇 Additional comments (11)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit