We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4693fa commit 31b5bb2Copy full SHA for 31b5bb2
1 file changed
astrbot/core/pipeline/result_decorate/stage.py
@@ -246,7 +246,7 @@ async def process(
246
if self.content_cleanup_rule:
247
seg = re.sub(self.content_cleanup_rule, "", seg)
248
if seg.strip():
249
- new_chain.append(Plain(seg))
+ new_chain.append(Plain(seg.strip()))
250
else:
251
# 非 Plain 类型的消息段不分段
252
new_chain.append(comp)
@@ -368,7 +368,7 @@ async def process(
368
return
369
if time.time() - render_start > 3:
370
logger.warning(
371
- "文本转图片耗时超过了 3 秒,如果觉得很慢可以使用 /t2i 关闭文本转图片模式。",
+ "文本转图片耗时超过了 3 秒,如果觉得很慢可以在 WebUI 中关闭文本转图片模式。",
372
)
373
if url:
374
if url.startswith("http"):
0 commit comments