Skip to main content

Module server

Module server 

Source
Expand description

OpenAI-Compatible Proxy Server

HTTP server implementing the OpenAI Chat Completions API plus a small admin surface for status and provider listing.

Endpoints: POST /v1/chat/completions - OpenAI-compatible chat GET /v1/models - List available models (across providers) GET /admin/status - Proxy status: providers + auth state

Optional bearer auth: set ST_PROXY_API_KEY in the env. When set, every request must carry Authorization: Bearer <key>. When unset, the proxy is open (loopback only by default).

Functionsยง

start_proxy_server
Start the OpenAI-compatible proxy server.