Skip to main content

@ai16z/eliza v0.1.6-alpha.4 / getProviders

Function: getProviders()

getProviders(runtime, message, state?): Promise<string>

Formats provider outputs into a string which can be injected into the context.

Parameters

runtime: IAgentRuntime

The AgentRuntime object.

message: Memory

The incoming message object.

state?: State

The current state object.

Returns

Promise<string>

A string that concatenates the outputs of each provider.

Defined in

packages/core/src/providers.ts:10