korveniq 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/build-profile.json +2 -2
- package/lib/tool-parser.js +2 -1
- package/package.json +1 -1
package/lib/build-profile.json
CHANGED
package/lib/tool-parser.js
CHANGED
|
@@ -490,7 +490,8 @@ function extractToolCalls({ text = '', message = null, nonces = null, markerHint
|
|
|
490
490
|
/* not a call: just prose that mentions the tag */
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
|
|
493
|
+
// `raw` tells two different refused blocks apart (the loop guard counts the SAME failing call, not every refusal).
|
|
494
|
+
if (well) calls.push({ name: null, misplaced: true, error: MISPLACED_HINT, raw: text.slice(r.bodyStart, r.bodyEnd) });
|
|
494
495
|
} else if (r.kind === 'xml') {
|
|
495
496
|
const { open } = r;
|
|
496
497
|
const body = text.slice(r.bodyStart, r.bodyEnd);
|