+2
-2
utils/processNotification.ts
+2
-2
utils/processNotification.ts
···
37
37
} as const;
38
38
39
39
export const processNotification = async (notification: Notification) => {
40
-
const agentProject = Deno.env.get("LETTA_PROJECT_NAME");
40
+
const agentName = agentContext.agentBskyName;
41
41
const kind = notification.reason;
42
42
const author = `@${notification.author.handle}`;
43
43
const handler = notificationHandlers[kind];
···
54
54
const prompt = await handler.promptFn(notification);
55
55
await messageAgent(prompt);
56
56
console.log(
57
-
`🔹 sent ${kind} notification from ${author} to ${agentProject}. moving on…`,
57
+
`🔹 sent ${kind} notification from ${author} to ${agentName}. moving on…`,
58
58
);
59
59
} catch (error) {
60
60
console.log(