Files
zeekay 9b2cc5535b gateway: one failure path per mode, and one default model
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
2026-11-20 22:28:03 -08:00
..
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-09-29 18:43:57 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00
2026-08-29 18:13:28 -07:00