Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Merge #5133: Inbox: finished hand-offs and the answers that sum them up get a line

milind-soni809cad00db0e
diff --cc server/index.ts
index 3ed5c485dd,0d72844fba..72e9b8f77a
--- a/server/index.ts
+++ b/server/index.ts
@@@ -4951,9 -4961,9 +4951,9 @@@ const providerLabel = (provider: string
const quietTurnThreads = new Set<string>(); const doneNotice = createDoneNotice({ awaitingTeammates: (threadId) => coordinator.awaitingTeammateThreads().has(threadId), queuedFollowUp: hasQueuedPersonMessage }); const personWaits = createPersonWaits({ store, notify, threadsWithCards: threadsWithCardsSince });
const QUIET_TURN_NEWS: ReadonlySet<Notification["kind"]> = new Set(["done", "turn-failed", "incident"]);
- function notify(notification: Notification | null, how?: { routine?: boolean }) {
+ function notify(notification: Notification | null, how?: { routine?: boolean; summary?: boolean }) {
if (notification && QUIET_TURN_NEWS.has(notification.kind) && quietTurnThreads.has(notification.threadId)) return;
- const routed = notification && teamMessages.route(notification, how); if (routed) broadcast({ kind: "notify", notification: logNotification(routed) });
+ const routed = notification && teamMessages.route(notification, how); if (routed) broadcast({ kind: "notify", notification: logNotification(routed) }); teamAway.notified(notification, routed, how);
}
const roomTurnLevels = createRoomTurnLevels();