Streams code-generation output as Server-Sent Events (SSE) for the given prompt and persists both the user's prompt and the assistant's streamed response to the conversation.
POST/studio/code_stream
- Content type is set to
text/event-stream, buffering and compression are disabled to support incremental delivery. - The user's prompt is immediately stored; the assistant's full streamed output is accumulated and saved as a single assistant message upon completion.
- The provider is resolved from configured code groups by name; if not found, an SSE notice is sent and the stream terminates gracefully.
- No pagination is performed on history retrieval; the entire conversation for
StudioIdis available for downstream provider usage if needed.
Request
Responses
- 200
OK