Skip to main content

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

Function: formatActions()

formatActions(actions): string

Formats the provided actions into a detailed string listing each action's name and description, separated by commas and newlines.

Parameters

actions: Action[]

An array of Action objects to format.

Returns

string

A detailed string of actions, including names and descriptions.

Defined in

packages/core/src/actions.ts:73