fix tool-call json leaks when feature_match is disabled

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

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);
});