Files
hermes-agent/agent
teknium1 80154cf3cf fix(streaming): explicit stale_timeout_seconds wins over the context-size tier and reasoning floor
The reasoning-floor gating (#99707) stopped the floor from overriding an
explicit providers.<id>.stale_timeout_seconds on the non-stream path, but the
streaming resolvers still fed the explicit value through _cloud_stale_timeout,
where the context-size tier (240s/300s) and the reasoning floor are max()ed on
top. A 60s explicit deadline on an 75k-token request became 240s, so the
operator could never SHORTEN patience for a hung stream (#115024).

_cloud_stale_timeout_for returns an explicit provider/model value as-is and
scales+floors only the 180s default; both stream resolvers (_StreamingCall.
_resolve_stale_timeout and the Bedrock _derive_stream_stale_timeout) use it.
2026-09-19 23:49:03 -07:00
..
…
…
…