BormintoDevelopers Documentation
docs.borminto.com

Streaming

Send "stream": true and read Server-Sent Events, as with OpenAI. Clients that always stream, such as Cursor, Cline, LibreChat and n8n, work without changes.

Borminto finishes the answer before the first event, so it can still switch source on failure. The text arrives in one piece, and an error before it is a normal JSON response with its HTTP status.

Events

  1. Content

    One chunk with delta.content, or delta.tool_calls when the model calls a tool.

  2. Finish

    A chunk with finish_reason: stop, length, tool_calls or content_filter.

  3. Usage

    With stream_options.include_usage, a chunk with empty choices and usage.

  4. End

    The line data: [DONE].

Search documentation

Documentation
Dashboard (opens in a new tab)