[bug] native direct preflight aborts the whole tool batch on one malformed context call #310
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/prolog-rlm#310
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In native direct mode, one malformed context-tool call causes the entire model-returned tool batch to fail before any valid sibling call can execute.
Observed in Auto-Dig integration runs #308, #309, and #310. In run
33268628425, the model returned three calls in one response:context_peekcontext_searchcontext_peekA schema rejection on
context_peek.selector.indexcaused:So even independently valid calls in the same batch never run, and the direct loop terminates after the first model response.
Expected behavior
Malformed tool arguments should be represented as a tool-level failure the model can recover from. One bad call should not necessarily kill the entire direct-mode trajectory or suppress unrelated valid calls in the same batch.
Required fix
Related
The concrete schema mismatch that currently triggers this path is tracked separately in #312.
Consumer evidence: lost-rob0t/starintel-gpt-auto-dig#2095, workflow run
33268628425, Prolog-RLM refeb2411afdaf981a0a121f55b7ddf23dc9fcef812.