OpenProgram Docs

Custom OpenAI-compatible provider

ConfiguredResolved
https://hosthttps://host/v1
https://host/https://host/v1
https://host/v1https://host/v1
https://host/compatible-mode/v1unchanged

_resolve_base_url in providers/settings/storage.py. The stored value stays as typed, so old rows resolve at read time with no migration. Built-in providers keep their own rules. The provider type sets the protocol; model names do not.

StepRequest
Validate and listGET {base}/models; a success must be JSON
Model rows, fetched or manualapi=openai-completions, resolved Base URL
InferencePOST {base}/chat/completions

Kept distinct: authentication rejection, balance errors, rate limits, transport failures, non-JSON success pages, malformed envelopes, empty lists. Error text never includes API keys or response bodies.

Last updated · 2026-11-25