3-line wrap (Python)
embeddings, files, audio, etc. fall through unchanged. Only
chat.completions.create(...) is rerouted through AGCMS.
3-line wrap (TypeScript)
Without an SDK (base_url override)
The officialopenai client supports a base_url argument. Point it at
AGCMS and use your AGCMS key in place of the OpenAI key: