UNPKG

wcz-layout

Version:

9 lines • 584 B
import { OpenAIChatCompletionsTextAdapter, OpenAIChatModel } from "@tanstack/ai-openai"; /** * Text adapter for the Wistron AI gateway; create it per request in a server function * (`getAppToken` caches the token). Chat Completions, not Responses: the gateway load-balances * Azure deployments, and Responses replays encrypted reasoning that other deployments cannot read * (400 invalid_encrypted_content). */ export declare const chatAdapter: <TModel extends OpenAIChatModel>(model: TModel) => Promise<OpenAIChatCompletionsTextAdapter<TModel>>; //# sourceMappingURL=ai.d.mts.map