Skip to main content

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

Function: getGoals()

getGoals(__namedParameters): Promise<Goal[]>

Parameters

__namedParameters

__namedParameters.runtime: IAgentRuntime

__namedParameters.roomId: `${string}-${string}-${string}-${string}-${string}`

__namedParameters.userId?: `${string}-${string}-${string}-${string}-${string}`

__namedParameters.onlyInProgress?: boolean = true

__namedParameters.count?: number = 5

Returns

Promise<Goal[]>

Defined in

packages/core/src/goals.ts:8