diff --git a/packages/agent/src/agent/evaluation.ts b/packages/agent/src/agent/evaluation.ts index 262a882..b8c8a2b 100644 --- a/packages/agent/src/agent/evaluation.ts +++ b/packages/agent/src/agent/evaluation.ts @@ -34,7 +34,7 @@ export const evaluate = async ( // TODO: does this evaluation interval make sense? const modulo = Math.round(runtime.getRecentMessageCount() - 2); - // if (totalMessages % modulo !== 0) return; + if (totalMessages % modulo !== 0) return; console.log('running evaluation') diff --git a/packages/agent/src/agent/evaluators/profile.ts b/packages/agent/src/agent/evaluators/profile.ts index 89e17a6..7c7e8ad 100644 --- a/packages/agent/src/agent/evaluators/profile.ts +++ b/packages/agent/src/agent/evaluators/profile.ts @@ -45,7 +45,7 @@ const handler = async ( state: State, ) => { // - + console.log('running profile handler') // TODO: // get the target from the message diff --git a/packages/agent/src/lib/evaluators/reflect.ts b/packages/agent/src/lib/evaluators/reflect.ts index 70ce9ad..797ab65 100644 --- a/packages/agent/src/lib/evaluators/reflect.ts +++ b/packages/agent/src/lib/evaluators/reflect.ts @@ -121,6 +121,8 @@ INSTRUCTIONS: Extract any claims from the conversation in the scene that are not * @TODO - Rework moon's factual json reflection system (rolodex) */ async function handler(runtime: AgentRuntime, _message: Message, state: State) { + console.log('running reflect handler') + const { userIds, senderId, agentId, room_id } = state; const actors =