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