github TinyAGI/tinyagi v0.0.9

latest releases: v0.0.20, v0.0.19, v0.0.18...
one month ago

fix: prevent telegram polling restart loop after laptop sleep

The polling error handler and watchdog had two issues causing infinite
409 loops after wifi reconnection:

  1. stopPolling() was not awaited, so old polling loops survived restarts
    and competed with new ones, causing cascading 409 conflicts
  2. The watchdog falsely triggered on idle bots (no messages ≠ dead polling),
    now pings getMe() to verify connectivity before restarting
  3. Added guard flag to prevent multiple concurrent restart attempts

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Don't miss a new tinyagi release

NewReleases is sending notifications on new releases.