fix tool-call json leaks when feature_match is disabled

This commit is contained in:
CJACK. committed 2026-03-22 08:29:01 +08:00
1 parent 8fa1f998aa
commit 6a39543288
4 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ test('resolveToolcallPolicy respects prepare flags and prepared tool names', ()
[{ type: 'function', function: { name: 'fallback_tool', parameters: { type: 'object' } } }],
);
assert.deepEqual(policy.toolNames, ['prepped_tool']);
assert.equal(policy.toolSieveEnabled, false);
assert.equal(policy.toolSieveEnabled, true);
assert.equal(policy.emitEarlyToolDeltas, false);
});