AlexWortega/siq-proxy
0
siq-proxy
Streaming OpenAI-compatible proxy for the SIQ-1-35B RunPod serverless endpoint, fronting the Pi Agent web app's "SIQ-1-35B (cloud)" model. Holds the RunPod API key server-side, adds CORS, applies SIQ-1 request shaping (thinking toggle, reasoning effort, max_tokens floor), and streams the vLLM worker's SSE through to the browser.
Endpoints
GET /api/health→{ ok, siq, model }GET /api/siq/v1/modelsPOST /api/siq/v1/chat/completions(OpenAI,stream: true)
The web app points VITE_SIQ_API at https://<this-space>.hf.space/api/siq.
Secrets (Space settings → Variables and secrets)
RUNPOD_API_KEY(required) — RunPod API keySIQ_EID(required) — RunPod serverless endpoint idSIQ_MODEL(defaultsiq) — served-model-name on the workerSIQ_MINTOK(default 2048),SIQ_LIMIT_HOUR_IP(default 240)
