[Feature]QQ Official 适配器 发送媒体文件失败时添加重试机制
Description / 描述
目前发送图片等媒体文件有概率出现:botpy.errors.ServerError: 系统繁忙,请稍后重试
希望在出现
botpy.errors.ServerError - HTTP 500, 504
的时候可以进行重试,提升用户使用体验。
Use Case / 使用场景
适配器出现botpy.errors.ServerError - HTTP 500, 504进行重试
Willing to Submit PR? / 是否愿意提交PR?
- [x] Yes, I am willing to submit a PR. / 是的,我愿意提交 PR。
Code of Conduct
- [x] I have read and agree to abide by the project's Code of Conduct. /
我提了个PR,照着隔壁openclaw-qqbot 重新弄了下消息发送这块,极大程度的解决了图片发送的问题。但是目前还没过Review,你要是急着用可以用我的fork把qqoffcial 替换一下
我提了个PR,照着隔壁openclaw-qqbot 重新弄了下消息发送这块,极大程度的解决了图片发送的问题。但是目前还没过Review,你要是急着用可以用我的fork把qqoffcial 替换一下
是哪个pr呢,主要是这个问题是腾讯服务器问题,应该没有除了重试可以解决的办法。
我提了个PR,照着隔壁openclaw-qqbot 重新弄了下消息发送这块,极大程度的解决了图片发送的问题。但是目前还没过Review,你要是急着用可以用我的fork把qqoffcial 替换一下
是哪个pr呢,主要是这个问题是腾讯服务器问题,应该没有除了重试可以解决的办法。
https://github.com/AstrBotDevs/AstrBot/pull/7176 这个,确实腾子的问题,但是AstrBot用的Base64传图片,但是腾子的qqbot没用,一直用的分片上传,还有很多机制去保持。
Thank you for your feedback! This issue has been addressed in PR #7430, which has been merged. We’re closing this issue as completed.
If the problem still occurs in the current version, or you still need this feature, please leave a comment with updated details so we can reopen the issue and continue the discussion. For bug reports, please include your AstrBot version, steps to reproduce, and relevant logs.
Thank you for your understanding and support!