A run's payloads reach the chat completions handler without an error flag, so the
stop reason is the only signal; the flag branches and the second stream path are
gone, and the stream reports a failed call from the lifecycle event alone. A request
that names no model takes DEFAULT_MODEL, the one default, in the team routes, the
marketplace and the Team preset, rather than a model written into each.
Testing: openai-http.test.ts (500 upstream_error on a stop reason, stream error
object on a lifecycle error); tsc -p tsconfig.plugin-sdk.dts.json passes.
Risk: low. How to revert: revert this commit.
Claude-Session: https://claude.ai/code/session_015XYKLn69gF4x75RWePpDBV