perf(reply): v2 turns with one one-step tool skip the planner
When the router's only pick is a tool that does its job in one call (getWeather, logMeal, fetchMeals, screenView) and the chat model calls tools natively, the planner no longer runs: on Strata it averaged 2.5 s per tool turn (2026-11-16 16:45-16:58 engine log, 9 calls) before the answer could start. Search, browsers, schedule, notes, chat channels and picks of two or more tools still plan. The rule reads the router's pick, not the words, so it is language-agnostic. Without a plan the skipped-tool guard has nothing to run, so these turns get one nudge instead: an answer given before any tool ran is dropped and the model is asked to call the tool (or ask for a missing detail). Evals (qwen3:8b, EVAL_COMPACT_PROMPT=1 EVAL_INTENT_JUDGE=1, 3 runs of tool_skip_confabulation, weather_autoderive_location, screen_view_tool, followup_supplies_missing_tool_arg, tool_router_implicit): 71/84 before, 72/84 after, same known failures; planner calls 14 -> 3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -269,7 +269,8 @@ which carry Discord's own time.
|
||||
the short voice persona (`compact_prompt=True`: the same butler in a tenth of v1's words, without
|
||||
v1's single-user memory and on-screen browser rules, answers as short as possible, the full tool
|
||||
guidance only on turns that offer a data tool), and the intent judge (`intent_judge=True`: the tool
|
||||
router judges whether the turn needs tools and which, and the planner runs only when it does;
|
||||
router judges whether the turn needs tools and which, and the planner runs only when it does
|
||||
and the pick is not a lone one-step tool;
|
||||
`planner.spec.md`, "Intent judge (v2)"). v1's screen-share browser (`stream_browser`) is off: it
|
||||
needs v1's Node bot (M6 brings the v2 one), so its tools are not offered.
|
||||
- Tools: the brain offers and runs no built-in tool in the jarvis settings' `disabled_tools` (the
|
||||
|
||||
Reference in New Issue
Block a user