FallbackProvider
Defined in: core/src/fallback.ts:409
Extends
Section titled “Extends”Properties
Section titled “Properties”fallbacks
Section titled “fallbacks”readonly fallbacks: FallbackPool<Provider>;Defined in: core/src/fallback.ts:410
readonly id: string;Defined in: core/src/types.ts:510
Inherited from
Section titled “Inherited from”readonly model: string;Defined in: core/src/types.ts:511
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:512
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
messages |
ChatMessage[] |
tools |
ToolDefinition[] |
opts? |
StreamOptions |
Returns
Section titled “Returns”AsyncIterable<ProviderChunk>