mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
A gateway or local entry can carry its own reasoning setting (#1126), sent on every call that has no level of its own. An endpoint that refuses reasoning_effort answered each of those calls with a 400 that was never learned, because only the call's own level counted as sent: every status note, every summary and every other level-less call failed, for as long as the setting stood. The refusal is now learned whichever level put the field on the wire, by the same path as any refused field: the call is asked once more without it inside its two-request budget, later calls send no field for that endpoint and model, a model seen reasoning unasked keeps its thinking room, and one ai.provider.reasoning_field_refused line says so per lesson instead of a failure per call. Refs #1279