Skip to content

Interface: ModelGatewayPluginConfig

AppKit configuration for the model-gateway plugin.

[key: string]: unknown

readonly optional cacheTtlMs?: number

ModelGatewayOptions.cacheTtlMs


optional host?: string

BasePluginConfig.host


readonly optional model?: string

ModelGatewayOptions.model


readonly optional modelClass?: "chat-thinking" | "chat-balanced" | "chat-fast" | "embedding"

ModelGatewayOptions.modelClass


optional name?: string

BasePluginConfig.name


readonly optional overrides?: readonly object[]

ModelGatewayOptions.overrides


optional streamConfig?: StreamConfig

SSE stream configuration for this plugin’s executeStream() calls (buffer sizes, maxEventSize, TTL, heartbeat). Sets the plugin’s StreamManager defaults; a per-call stream config still overrides these. Use it to raise maxEventSize above the 5 MiB default when a stream emits larger events.

BasePluginConfig.streamConfig


optional telemetry?: TelemetryOptions

BasePluginConfig.telemetry