Skip to content

[Bug] Segmented Reply Threshold Error #9184

Description

@CooperWang0912

What happened / 发生了什么

  • The threshold for segmented reply uses number of characters instead of number of words when using English, and likely for other alphabet based languages as well
  • 分段输出的阈值在使用英语时使用的是字符数而非word count,因此大概率其他基于字母表的语言也会遇到同样的问题

Reproduce / 如何复现?

  1. Set Segmented Reply Word Count Threshold to 150-300 words
  2. Interact with the bot in English/Other alphabet based languages
  3. Observe the segmented reply fail to trigger
  1. 分段回复字数阈值设置为150-300
  2. 使用英语或其他基于字母表的语言与机器人交互
  3. 机器人回复将不会启用分段回复

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

  • Windows 11
  • Astrbot V4.26.5

OS

Windows

Logs / 报错日志

Image Image

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

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreThe bug / feature is about astrbot's core, backendbugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions