Skip to content

[Bug]群聊上下文感知的图片理解 #3770

@zz6zz666

Description

@zz6zz666

What happened / 发生了什么

Image Image

聊天记忆增强重构位群聊上下文感知后,启用图片理解必须设置默认图片转述模型,可是设置默认图片转述模型会导致所有场景(包括私聊)的图片也强制经过模型转述。

应像原先版本一样区分默认图片转述模型和用于群聊图片理解的转述模型。

Reproduce / 如何复现?

Image 这是私聊场景下的,可以看见虽然我的聊天模型是支持图片输入的,但是由于设置了默认图片转述模型(为了支持群聊图片理解),依然不得不经过模型转述得到最终响应。

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

4.6.0

OS

Linux

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions