Intelligence · function
createProxyProvider
Returns a provider directly, where the local path returns a Promise<AiProviderResult>.
Explained in Agents and behaviour.
function createProxyProvider(config: ProxyProviderConfig): AiProviderimport { createProxyProvider } from '@driftengine/ai';Parameters
| Parameter | Type | Description |
|---|---|---|
config | ProxyProviderConfig |
In depth
A proxy has nothing to probe: its capabilities are whatever the consumer's endpoint
declares, and finding out otherwise costs a network round trip nobody asked for.
createAiProvider wraps either behind the capability check, so a caller sees one shape.