POST https://api.smallest.ai/waves/v1/chat/completions
OpenAI-compatible chat completion endpoint. Most OpenAI Chat Completions request fields are accepted and passed through to Electron verbatim. The response shape matches OpenAI’s chat.completion object.
Unrecognized parameters not in the supported set are accepted by the schema but may be ignored by the model. See Supported Parameters for the full passthrough table.
Sending either returns HTTP 400 with invalid_request_error.
Standard OpenAI chat.completion object:
usage blockfinish_reasonWhen stream: true, the response is text/event-stream SSE. See Streaming for chunk format and example consumer code.
All errors follow the OpenAI-style envelope. Validation failures additionally include a details array with per-field reasons: