/** * src/llm/providers/zenEndpoints.ts * * OpenCode Zen is not a single API. Each model family is served on its own * endpoint (https://opencode.ai/docs/zen/#endpoints), but the `opencode` * provider is built on the OpenAI chat-completions client, which only speaks * `/v1/chat/completions`. Asking it for a `/v1/messages` model (Claude, * qwen3.8-flash) or a `/v1/responses` model (GPT/Grok) 400s or hangs — which * surfaces to a caller as an agent that never answers. * * This module is the single source of truth for "which endpoint does this Zen * model live on", so the provider can route to the right protocol instead of * assuming chat. Pure and dependency-free: the model catalog rotates, so keep * the prefix sets aligned with the Zen docs and the live `/v1/models` list. */ export type ZenProtocol = 'chat' | 'messages' | 'responses' | 'systemone'; export declare function isZenMessagesModel(model: string): boolean; export declare function zenProtocolForModel(model: string): ZenProtocol; //# sourceMappingURL=zenEndpoints.d.ts.map