AstrBot icon indicating copy to clipboard operation
AstrBot copied to clipboard

[Bug] 文本转图像回复失效

Open ImNotBird opened this issue 6 months ago • 2 comments

What happened / 发生了什么

如题

Reproduce / 如何复现?

直接开启并调用即可

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

Debain 12 python脚本部署

OS

Linux

Logs / 报错日志

[2026-05-03 12:57:20.940] [Core] [WARN] [v4.23.5] [t2i.network_strategy:145]: Endpoint https://ab-t2i-rain.edge.soulter.top/text2img failed: HTTP 404, trying next... [2026-05-03 12:57:23.489] [Core] [WARN] [v4.23.5] [result_decorate.stage:368]: 文本转图片耗时超过了 3 秒,如果觉得很慢可以使用 /t2i 关闭文本转图片模式。

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • [ ] Yes!

Code of Conduct

ImNotBird avatar May 03 '26 05:05 ImNotBird

Hi @ImNotBird! I'm Dosu and I’m helping the AstrBot team.

这个问题与 #7750 和 #7940 报告的 bug 一致——文转图模板渲染回归导致远程接口返回 404 [1]。

该问题已在 PR #7789 中修复,主要修正了模板数据字段缺失(text_base64 等)和 Shiki 运行时注入异常的问题 [2]。你当前使用的是 v4.23.5,该修复尚未包含在此版本中。

临时解决方案: 在普通配置中关闭"文本转图像输出",等待包含 #7789 修复的新版本发布后升级即可。

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about AstrBot with Dosu Add Dosu to your team

dosubot[bot] avatar May 03 '26 05:05 dosubot[bot]

#7750

ImNotBird avatar May 03 '26 05:05 ImNotBird