MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_budget_guard.py

File test_budget_guard.py

sdk/python/tests/test_budget_guard.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Smoke test for the Python BudgetGuard wrapper.
2
3Verifies that a Python BudgetGuard whose `check_before_llm` returns
4``{"decision": "deny", ...}`` aborts ``session.send`` with a

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected