FallbackProvider
Defined in: core/src/fallback.ts:382
Extends
Section titled “Extends”Properties
Section titled “Properties”fallbacks
Section titled “fallbacks”readonly fallbacks: FallbackPool<Provider>;Defined in: core/src/fallback.ts:383
readonly id: string;Defined in: core/src/types.ts:446
Inherited from
Section titled “Inherited from”readonly model: string;Defined in: core/src/types.ts:447
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”createStream()
Section titled “createStream()”createStream( messages, tools, opts?): AsyncIterable<ProviderChunk>;Defined in: core/src/types.ts:448
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
messages |
ChatMessage[] |
tools |
ToolDefinition[] |
opts? |
StreamOptions |
Returns
Section titled “Returns”AsyncIterable<ProviderChunk>