fix(llm): narrow the fix to identity acceptance

Refusing a response whose tool call never receives an identity needed a new failure code, a change to the default retryable set, and a `[DONE]` gate that overro

Fix

Refusing a response whose tool call never receives an identity needed a new failure code, a change to the default retryable set, and a `[DONE]` gate that overrode the finish reason a provider had already sent — turning a safe `max-tokens` truncation into up to five retries. The lenient wire it guarded against is hypothetical: no report describes a stream that omits identity entirely, and the pre-e

Date
2026-09-02
Version
master@b03261c
commit
b03261c

View commit on GitHub

Refusing a response whose tool call never receives an identity needed a new failure code, a change to the default retryable set, and a [DONE] gate that overrode the finish reason a provider had already sent — turning a safe max-tokens truncation into up to five retries. The lenient wire it guarded against is hypothetical: no report describes a stream that omits identity entirely, and the pre-e