Skip to content

Variable: ProtocolEndpointsSchema

Makaio Framework


Makaio Framework / contracts / ProtocolEndpointsSchema

const ProtocolEndpointsSchema: ZodObject<{ anthropic: ZodOptional<ZodString>; openai: ZodOptional<ZodString>; }, $strip>

Defined in: ../../../packages/contracts/src/provider/definition.ts:33

Maps wire protocol identifiers to their base endpoint URLs.

A provider may support multiple protocols simultaneously — for example, Z.AI exposes both an Anthropic-compatible and an OpenAI-compatible endpoint. Omit a protocol key when the provider does not support it.

{
anthropic: 'https://api.z.ai/v1/anthropic',
openai: 'https://api.z.ai/v1/openai',
}