Creates a chat completion. Set stream: true for server-sent events with content type text/event-stream. Body matches OpenAI Create chat completion; model uses provider/model form.
Ageneral virtual key as sk-bf-… or node service JWT. Send as Authorization: Bearer <token>.
Aligned with OpenAI Chat Completions. Optional fields such as tools, stream, and response_format follow the same JSON shape as OpenAI.
Success. JSON object, or text/event-stream when stream is true.
OpenAI-compatible chat completion object.