Intelligence · interface
AiProviderConfig
Explained in Agents and behaviour.
interface AiProviderConfigimport type { AiProviderConfig } from '@driftengine/ai';Properties
| Name | Type | Description |
|---|---|---|
kindreadonly | 'proxy' | 'local' | 'deterministic' | |
sessionreadonly | AiSessionOptions | |
providerreadonlyoptional | AiProvider | The provider itself, where the caller already has one.MoreAdapters 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. |
adapterreadonlyoptional | Readonly<Record<string, unknown>> | Adapter-specific, and never a credential — see adapters/proxy.ts. |