Repository navigation
v0.15.0 — ChatGPT plan routing
Highlights
- ChatGPT plan routing. Declare
chatgpt/<model>in a model chain to use an operator's ChatGPT plan sign-in, before or after API-key routes. A single-entry chain stays subscription-only. This implements OpenAI's documented open-source/self-hosted flow for the operator's own workloads. - Operator sign-in.
cllama auth login chatgptstarts the host-loopback flow;auth statusandauth logout chatgptinspect or clear it. Tokens stay in cllama's private store and refresh atomically under a cross-process lock. Workers retain only their cllama bearer. - Explicit failures and records. Plan limits, missing sign-in, eligibility refusals and temporary errors have distinct handling. Trace attempts name the credential class; revocation acknowledgements carry completed-call counts and a proxy boot ID for completeness checks after restart.
Security and compatibility
- Fixed public auth/inference endpoints, callback state/PKCE/nonce and signed identity checks, no redirect credential forwarding, descriptor-relative private files, and token redaction in bodies, headers, logs and traces.
- Uses Responses with
store: false, a completed event stream and namespaced function tools. Unsupported fields are removed with recorded interventions; hosted tools and named tool choice are unsupported on this route. - Other vendors' subscription routes are not implemented. README links the checked provider terms and explains the native Claude Code follow-up.
- Conservative data policy still applies; OpenAI API-key attestations do not automatically cover the
chatgptprovider.
Verification and limits
Both reviews approved the exact source head; PR and merge CI, independent full race tests/vet, and real Hermes/container acceptance with a synthetic HTTPS provider passed. The live test covered direct Terra, Vercel GPT-4.1 nano, plan serving, limits/fallback, subscription-only refusal, forged callback rejection and worker credential isolation. Existing task-home and stateless regressions passed.
No real-account sign-in or subscription inference was performed. Provider callback/schema details follow current primary documentation. Counts are process-local; consumers must compare boot IDs and flag incomplete counts. No credentials were imported from another harness.
Source: PR #71 and callback-delivery fix #73. The callback regression reproduced the pre-fix EOF and passed 1,000 callbacks after the fix under the race detector. Image: ghcr.io/mostlydev/cllama:v0.15.0 for Linux amd64 and arm64.