fix: prevent duplicate Telegram messages on "not modified" edit (#254)
* fix: prevent duplicate Telegram messages on "not modified" edit When streaming completes and the final editMessage call sends identical content, Telegram returns "message is not modified". The catch block treated this as a real failure and bubbled up to bot.ts, which fell back to sending the response as a brand-new message -- causing duplicates. Now the Telegram adapter silently returns on "message is not modified" since the content is already correct. Written by Cameron ◯ Letta Code "The simplest fix is the one that doesn't fight the API." * fix: update package-lock.json for remark/mdast dependencies PR #234 (Slack mrkdwn formatter) added remark-gfm and related mdast packages but the lockfile wasn't regenerated, causing npm ci to fail in CI with "Missing from lock file" errors. Written by Cameron ◯ Letta Code "The lockfile remembers what package.json forgets."
This commit is contained in:
1167
package-lock.json
generated
1167
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user