Intelligence · interface

AiProviderConfig

Explained in Agents and behaviour.

interface AiProviderConfig
import type { AiProviderConfig } from '@driftengine/ai';

Properties

NameTypeDescription
kindreadonly'proxy' | 'local' | 'deterministic'
sessionreadonlyAiSessionOptions
providerreadonlyoptionalAiProviderThe provider itself, where the caller already has one.
More

Adapters that must be constructed — a local model that has to probe the device — are built by their own factory and handed here, so this function does one job: comparing what is declared against what is required.

adapterreadonlyoptionalReadonly<Record<string, unknown>>Adapter-specific, and never a credential — see adapters/proxy.ts.