Skip to content

[Bug] 群聊上下文感知开关失效 #3842

@zz6zz666

Description

@zz6zz666

What happened / 发生了什么

Image

如图,当仅开启“群聊上下文感知”开关时,实际并未启用上下文感知功能,

同时开启主动回复开关后,上下文感知才可正常工作(亦即"you are in a chatroom, the chat histrory is..."格式的单一user字段请求)。

同时强烈要求把群聊上下文感知的chatroom换成中文提示词,以避免误导大模型使用英文输出。(当然最好要做国际化)

Image

Reproduce / 如何复现?

如问题所述。

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

目前最新4.7.1,4.7.0版本均存在次问题,回退至4.6.1 4.6.0 依然如此。疑似为“群聊上下文感知”模块自重构以来的版本一直遗留了此问题,如先前提到的“群聊图片转述”的默认转述模型耦合设置一样。很有可能这个问题的起源可以一直追溯至4.0.0版本。

OS

Other

Logs / 报错日志

如上所述

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

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions