Skip to Content

GatewayModelSchema

const GatewayModelSchema: ZodObject<{ apis: ZodOptional<ZodArray<ZodEnum<{ chatComplete: "chatComplete"; complete: "complete"; createModelResponse: "createModelResponse"; createSpeech: "createSpeech"; createTranscription: "createTranscription"; createTranslation: "createTranslation"; embed: "embed"; imageEdit: "imageEdit"; imageGenerate: "imageGenerate"; messages: "messages"; systemOne: "systemOne"; }>>>; id: ZodString; limits: ZodOptional<ZodObject<{ contextTokens: ZodOptional<ZodInt>; maxOutputTokens: ZodOptional<ZodInt>; }, $strip>>; name: ZodString; provider: ZodObject<{ id: ZodString; }, $strip>; reasoning: ZodOptional<ZodEnum<{ hidden: "hidden"; none: "none"; }>>; }, $strip>;

A model in the gateway’s catalog. The catalog leaves out what it does not know.

Last updated on