fix: avoid duplicate ACP Telegram finals (#55173)

* fix: avoid duplicate final ACP text on telegram

* fix: keep ACP final fallback for non-telegram blocks

* fix: count telegram ACP block replies as success

* fix: recover ACP final fallback after block failures

* fix: settle telegram ACP block delivery before fallback

* test: isolate ACP dispatch mocks under shared workers

* fix: prefer telegram provider for ACP visibility
This commit is contained in:
Ayaan Zaidi
2026-03-26 20:37:21 +05:30
committed by GitHub
parent 2ed11a375a
commit 4b1c37a152
8 changed files with 362 additions and 57 deletions

View File

@@ -1042,6 +1042,7 @@ export async function handleFeishuMessage(params: {
sendFinalReply: () => false,
waitForIdle: async () => {},
getQueuedCounts: () => ({ tool: 0, block: 0, final: 0 }),
getFailedCounts: () => ({ tool: 0, block: 0, final: 0 }),
markComplete: () => {},
};