You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API 日志前缀:所有 API 请求日志加上 [qqbot-api:${appId}] 前缀,方便多实例排查。
English
🐛 Fixes
Fix Token collision in multi-account concurrent mode: Refactored the global Token cache in api.ts from a single variable to a per-appIdMap, resolving 11255 invalid request errors caused by Token overwrite when multiple bots run simultaneously.
Per-instance background Token refresh: clearTokenCache() and stopBackgroundTokenRefresh() now accept an appId parameter for independent per-account management.
Fix openclaw message send failing for non-default accounts: Without --account, accountId always fell back to "default", causing a 500 error when sending to an OpenID belonging to a different bot (Token/target mismatch). Documentation now clarifies that --account must be specified for non-default bots.
✨ New
Multi-account documentation: Added "Multi-Account Setup" section to README, explaining how to configure and use multiple QQ bots.
Enhanced debug logging: Added detailed [qqbot:channel] prefixed logs in channel.ts, covering account resolution, message sending, and gateway startup.
API log prefix: All API request logs now include [qqbot-api:${appId}] prefix for easier multi-instance debugging.