Compare commits
2 Commits
main
...
fix/immedi
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
206071be69 | ||
|
|
98f399b7fd |
@ -24,6 +24,7 @@ Docs: https://docs.clawd.bot
|
|||||||
- UI: add copy-as-markdown with error feedback and drop legacy list view. (#1345) — thanks @bradleypriest.
|
- UI: add copy-as-markdown with error feedback and drop legacy list view. (#1345) — thanks @bradleypriest.
|
||||||
### Fixes
|
### Fixes
|
||||||
- Discovery: shorten Bonjour DNS-SD service type to `_clawdbot-gw._tcp` and update discovery clients/docs.
|
- Discovery: shorten Bonjour DNS-SD service type to `_clawdbot-gw._tcp` and update discovery clients/docs.
|
||||||
|
- Telegram: answer callback queries immediately to prevent retries. (#1349) — thanks @siddhantjain.
|
||||||
- Agents: preserve subagent announce thread/topic routing + queued replies across channels. (#1241) — thanks @gnarco.
|
- Agents: preserve subagent announce thread/topic routing + queued replies across channels. (#1241) — thanks @gnarco.
|
||||||
- Agents: avoid treating timeout errors with "aborted" messages as user aborts, so model fallback still runs.
|
- Agents: avoid treating timeout errors with "aborted" messages as user aborts, so model fallback still runs.
|
||||||
- Diagnostics: export OTLP logs, correct queue depth tracking, and document message-flow telemetry.
|
- Diagnostics: export OTLP logs, correct queue depth tracking, and document message-flow telemetry.
|
||||||
|
|||||||
@ -179,6 +179,8 @@ export const registerTelegramHandlers = ({
|
|||||||
const callback = ctx.callbackQuery;
|
const callback = ctx.callbackQuery;
|
||||||
if (!callback) return;
|
if (!callback) return;
|
||||||
if (shouldSkipUpdate(ctx)) return;
|
if (shouldSkipUpdate(ctx)) return;
|
||||||
|
// Answer immediately to prevent Telegram from retrying while we process
|
||||||
|
await bot.api.answerCallbackQuery(callback.id).catch(() => {});
|
||||||
try {
|
try {
|
||||||
const data = (callback.data ?? "").trim();
|
const data = (callback.data ?? "").trim();
|
||||||
const callbackMessage = callback.message;
|
const callbackMessage = callback.message;
|
||||||
@ -323,8 +325,6 @@ export const registerTelegramHandlers = ({
|
|||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
runtime.error?.(danger(`callback handler failed: ${String(err)}`));
|
runtime.error?.(danger(`callback handler failed: ${String(err)}`));
|
||||||
} finally {
|
|
||||||
await bot.api.answerCallbackQuery(callback.id).catch(() => {});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user