Skip to main content

@okcashpro/okai v0.1.7-alpha.1 / 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