model-router
Stream model responses via SSE
Changed onpost/v1/model-router/stream
Request
- The document declares no server URL.
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Server-Sent Events stream
unknown required
Changes
- breaking
request property
//was restricted to a list of enum values - breaking
the
request property's minItems was increased to1 - info
added the new
assistantenum value to the request property// - info
added the new
systemenum value to the request property// - info
added the new
userenum value to the request property// - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking