glhf Chat Completions Streaming (HTTP + SSE)
Version 1.0.0
AsyncAPI 2.6 description of glhf's (glhf.chat) **chat completion streaming** surface. glhf does not publish a WebSocket API. Its OpenAI-compatible REST API exposes chat completions at `POST /chat/completions` under the base URL `https://glhf.chat/api/openai/v1`. The only asynchronous / event-style transport is **HTTP Server-Sent Events (SSE)**, delivered over that same REST endpoint when the request body sets `stream: true`. SSE is a one-way, server-to-client HTTP streaming channel; it is **not** WebSocket. Following the OpenAI streaming convention that glhf is compatible with, tokens are sent as data-only server-sent events as they become available, with the stream terminated by a `data: [DONE]` message. This AsyncAPI document models only the streamed events emitted by glhf's SSE response. The request body itself (model as hf:org/model, messages, etc.) is modeled in the companion OpenAPI document at `openapi/glhf-chat-openapi.yml`.
Channels
Messages
Servers
glhf.chat/api/openai/v1