Repository navigation
fix(tool-disclosure): default local Ollama/vLLM routes to direct - #12110
cestercian wants to merge 2 commits into
Conversation
Progressive Tool Search nests tool_call and breaks local Ollama/vLLM models. Select direct for those routes by default and fail-safe generated openclaw.json to tools.toolSearch=false when a local route still has NEMOCLAW_TOOL_DISCLOSURE=progressive.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (12)
Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughChangesThe change adds route-aware tool disclosure resolution. Tool disclosure routing
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~12 minutes Change: Bug fix · Severity of issue fixed: Medium Sequence Diagram(s)sequenceDiagram
participant SandboxCreate
participant ToolDisclosureFlow
participant ToolDisclosure
participant ConfigGenerator
SandboxCreate->>ToolDisclosureFlow: pass selected provider
ToolDisclosureFlow->>ToolDisclosure: resolve sandbox disclosure for route
ToolDisclosure-->>SandboxCreate: return direct or progressive
ConfigGenerator->>ToolDisclosure: resolve generated disclosure from environment and providers
ToolDisclosure-->>ConfigGenerator: return route-aware disclosure
Suggested reviewers: 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation For [ Resolution Add a runtime fallback that detects the specified malformed tool-call patterns, switches the affected model or session to direct disclosure, and logs the fallback. Add and document a no-rebuild disclosure command or supported
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Use direct tools for a fresh managed OpenClaw sandbox on Ollama or vLLM. Preserve explicit requests, established registry state, other agents, cloud routes, and llama.cpp. Reuse the existing route reservation classification and session checks. Refs #12106 Replays the narrow default fix from #12110. Co-authored-by: Cestercian <[email protected]> Signed-off-by: Aaron Erickson <[email protected]>
|
Thanks for the fix, @cestercian. The fresh managed OpenClaw default for local Ollama/vLLM is now on main through #12968, with you credited as co-author in the merged commit. We replayed the narrow default change onto current code while preserving explicit requests and existing sandbox choices. CI passed, and the remaining branch E2E failures were reproduced on the exact base under our do-no-harm comparison. Closing this as superseded by the merged replay. The replay addresses the initial default; it does not add runtime fallback for unsupported models. |
Summary
Progressive tool disclosure as the default breaks local Ollama/vLLM models that cannot drive nested
tool_call/ Tool Search (hundreds of malformed attempts, no reply).tools.toolSearch=false(direct) works immediately.ollama-localandvllm-localto direct; cloud routes andllama-cpp-localstay progressive.tools.toolSearch=falsefor those local routes even whenNEMOCLAW_TOOL_DISCLOSURE=progressiveis baked in, so managed startup can pick this up without a rebuild.Fixes #12106
Test plan
Summary by CodeRabbit