Skip to content

Type Alias: ProviderContext

Makaio Framework


Makaio Framework / contracts / ProviderContext

ProviderContext = z.infer<typeof ProviderContextSchema>

Defined in: ../../../packages/contracts/src/adapter/schemas/provider-context.ts:35

Inferred type for an unresolved provider context.

  • ProviderContext
    • z.infer<typeof ProviderContextSchema>
      • typeof ProviderContextSchema
type ProviderContext = {
providerConfigId: string;
definitionId: string;
credentialRefs: Record<string, string & z.core.$brand<'CredentialRef'>>;
endpointOverrides?: { anthropic?: string | undefined; openai?: string | undefined; } | undefined;
credentialEnvVars?: Record<string, string> | undefined;
};