Repository navigation
Conversation
|
MLCommons CLA bot: |
|
Verified that empty/malformed tool declarations reject undeclared calls while declared tools remain valid. All CI checks pass. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #547 +/- ##
=======================================
Coverage ? 82.63%
=======================================
Files ? 170
Lines ? 24331
Branches ? 0
=======================================
Hits ? 20106
Misses ? 4225
Partials ? 0 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
# Conflicts: # tests/integration/commands/test_sigint.py
Reject tool calls unless their names are present in the declared tool list. The previous truthiness check treated an empty or malformed list as unrestricted, allowing undeclared model output to reach tool evaluation. Refs #391.
Regression tests cover empty and malformed declarations and a declared tool; the two rejection cases fail before the fix. Synced with upstream dependency/watchdog fixes, with session startup synchronized in the SIGINT test. Full Linux CI passes.