Skip to content

[Bug]gemini私聊分段输出消息错误 #1476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 of 2 tasks
LifeLikeLemon opened this issue May 6, 2025 · 0 comments
Open
1 of 2 tasks

[Bug]gemini私聊分段输出消息错误 #1476

LifeLikeLemon opened this issue May 6, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@LifeLikeLemon
Copy link

发生了什么

在私聊回复中若触发gemini启用分段输出,第一条消息可以正常识别usr_id并输出给私聊,从第二段输出开始报错“应指定group_id而不是usr_id”,消息无法发出。触发分段输出条件不明

如何复现?

触发gemini分段输出即可复现
例如:“接下来的30秒请每隔十秒发一条消息”,若gemini成功触发分段输出即可复现

AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

astrbot3.5.7,Linux直接部署,第三方提供商使用New API兼容openai api,消息平台适配器napcat

操作系统

Linux

报错日志

https://5pw.net/i/2025/05/06/68196a882378d.png
https://5pw.net/i/2025/05/06/68196a9cf3eae.png

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@LifeLikeLemon LifeLikeLemon added the bug Something isn't working label May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant