Files
zeekay b7653013dd A masked refusal is every engine sentence for a request the model cannot take
The engine after v1.6.5 no longer answers a forced tool choice its
upstream refuses with "the model could not serve this request": it
names the field ("this model does not take the request's tool_choice"),
or refuses up front when no rung takes a forced choice ("<id> cannot be
made to call a tool"). All three are the model asked unable to take a
request its floor may, so all three fall, within the free allowance.
The tests send the engine's own bytes (Response::deny: code, message,
type engine_error).

Testing: go test ./controllers/ -run 'TestAMaskedRefusalFalls|TestAModelThatCannotServe|TestARefusalThatIsTheCallers'
Risk: low.
How to revert: git revert this commit.
2026-10-26 21:08:12 -07:00
..