Skip to content

Interface: CreateAdapterConfigFactoryOptions<TConfig>

Makaio Framework


Makaio Framework / ai-adapters-core/config / CreateAdapterConfigFactoryOptions

Interface: CreateAdapterConfigFactoryOptions<TConfig>

Section titled “Interface: CreateAdapterConfigFactoryOptions<TConfig>”

Defined in: ../../../adapters/core/src/config/factory.ts:22

Options for creating an adapter config factory. Captures the adapter-specific constants needed to resolve config.

TConfig extends BaseAgentConnectorConfig

The adapter’s full config type for type-safe defaults

adapterDefaults: AdapterDefaults<TConfig>

Defined in: ../../../adapters/core/src/config/factory.ts:26

Adapter-level defaults (model required, others optional including providerConfig)


adapterDefinition: object

Defined in: ../../../adapters/core/src/config/factory.ts:36

Adapter definition containing defaultTimeouts

optional defaultTimeouts?: Partial<RequiredTimeoutConfig>


adapterName: string

Defined in: ../../../adapters/core/src/config/factory.ts:24

Adapter type name (e.g., ‘claude-code’, ‘gemini-sdk’)


protocol: "anthropic" | "openai"

Defined in: ../../../adapters/core/src/config/factory.ts:38

Wire protocol used to select the correct provider endpoint URL from endpointOverrides.


schema: ZodObject<Readonly<{[k: string]: $ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; }>, $strip> | null

Defined in: ../../../adapters/core/src/config/factory.ts:34

Optional Zod schema for provider config validation. Currently unused — pass null. Retained as an extension point for future runtime validation of merged provider config shapes.