NousResearch/hermes-agent

Weixin ret=-2 error misclassified as rate limit

Cluster 80125 · gateway. Data as of

Nothing open on GitHub. Fix merged in #113069 on 16 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #113069. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and PRs address a bug where the Weixin adapter incorrectly reports a 'prepare error' (ret=-2) as a rate limit error, obscuring the real cause such as a missing context_token. The fix distinguishes between the two error conditions.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #113069 fix(gateway): Weixin cron/notification sends recover from iLink 'prepare failed' instead of tripping the rate-limit breaker (#112709, salvage #112713)

    merged to main

    files: gateway/platforms/weixin.py, tests/gateway/test_weixin.py, website/docs/user-guide/messaging/weixin.md, website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/weixin.md

2 PRs closed without merging

From the close comments: done elsewhere 2

  • #80152 fix(weixin): 区分 ret=-2 的 'prepare failed' 参数错误,不再误报为限流 · done elsewhere → bd39167, #113069
  • #80156 fix(weixin): distinguish ret=-2 'prepare failed' from genuine rate limit (#80125) · done elsewhere → 5db9f02, bd39167, #80152
Closed issues · 1
  • Closed#80125weixin adapter: ret=-2 with errmsg 'prepare failed' misreported as 'rate limited', hiding real cause (missing context_token)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Merged PRs
#113069
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
16 Sep 2026

For your agent

The same facts, typed.