Skip to content

[Bug] 某些情况下同一个 agent run 中,大模型会连续调用多次相同的 send_message_to_user,内容完全一样。造成一个请求重复回复多次 #8778

@Rrttttttt

Description

@Rrttttttt

What happened / 发生了什么

新建 文本文档.txt
某些情况下同一个 agent run 中,大模型会连续调用多次相同的 send_message_to_user,内容完全一样。造成一个请求重复回复多次,Claude code给出的建议是增加去重

Reproduce / 如何复现?

在群聊中使用@唤醒或者主动回复的时候均会触发

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

v4.25.5
napcat
mimo-v2.5
qq

OS

Windows

Logs / 报错日志

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

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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