Request
Body parameters
Each message has a
role and content:
Response
finish_reason is commonly:
Streaming
Setstream: true. The response uses text/event-stream and ends with
data: [DONE].
Create OpenAI-compatible text, tool-call, and structured-output completions.
role and content:
finish_reason is commonly:
stream: true. The response uses text/event-stream and ends with
data: [DONE].