Skip to main content

Function: getGoals()

getGoals(__namedParameters): Promise<Goal[]>

Parameters

__namedParameters

__namedParameters.count?: number = 5

__namedParameters.onlyInProgress?: boolean = true

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

__namedParameters.runtime: IAgentRuntime

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

Returns

Promise<Goal[]>

Defined in

packages/core/src/goals.ts:8