Skip to content
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

[BUG] 群聊内同时问答,会出现串台现象 #1433

Closed
3 tasks done
xxll222557 opened this issue Mar 16, 2025 · 1 comment · Fixed by #1440
Closed
3 tasks done

[BUG] 群聊内同时问答,会出现串台现象 #1433

xxll222557 opened this issue Mar 16, 2025 · 1 comment · Fixed by #1440
Labels
bug Something isn't working

Comments

@xxll222557
Copy link

xxll222557 commented Mar 16, 2025

提交 issue 前,请先确认:

  • 我已看过 FAQ,此问题不在列表中
  • 我已看过其他 issue,他们不能解决我的问题
  • 我认为这不是 Mirai 或者 OpenAI 的 BUG

表现
描述 BUG 的表现情况

运行环境:

  • 操作系统:Ubuntu 24.04.1
  • Docker: 28.0.1
  • 项目版本:v3.1.1

复现步骤
描述你是如何触发这个 BUG 的

  1. 同时在两个群聊内发送“/chat ”唤醒
  2. 回答却全部回复到随机的一个群聊内

预期行为
本应该分别回复到不同的群聊内,却全部恢复到这两个之中随机的一个群聊内

@xxll222557 xxll222557 added the bug Something isn't working label Mar 16, 2025
@xxll222557
Copy link
Author

我使用的协议是Onebot,插件为im_onebot_adapters v0.2.4

lss233 added a commit that referenced this issue Mar 30, 2025
工作流 Block 只会在 build 时构造,fixes: #1433

好的,这是翻译成中文的 pull request 总结:

## Sourcery 总结

重构工作流块构建过程,将 Block 实例化推迟到构建阶段,从而提高工作流的灵活性和性能

新特性:
- 在工作流构建中增加对延迟 Block 初始化的支持
- 实现更动态的连接机制

Bug 修复:
- 修复了 Block 提前实例化的潜在问题
- 改进了块命名和连接逻辑的处理

增强:
- 修改工作流构建器,将节点规范与 Block 实例化分离
- 引入一种更灵活的创建和连接工作流节点的方法
- 改进工作流序列化和反序列化过程

<details>
<summary>Original summary in English</summary>

好的,这是翻译成中文的 pull request 总结:

## Sourcery 总结

重构工作流块的构建方式,将块的初始化推迟到构建阶段,从而提高工作流的灵活性和性能

**新特性:**

- 在工作流构建中引入延迟块初始化
- 为工作流节点实现更动态的连接机制

**Bug 修复:**

- 解决过早实例化块的潜在问题
- 改进块命名和连接逻辑

**增强:**

- 将节点规范与块实例化分离
- 创建一种更灵活的工作流节点创建和连接方法
- 改进工作流序列化和反序列化过程

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Refactor workflow block construction to defer Block initialization until
the build phase, improving workflow flexibility and performance

New Features:
- Introduce delayed Block initialization in workflow construction
- Implement a more dynamic connection mechanism for workflow nodes

Bug Fixes:
- Resolve potential issues with premature Block instantiation
- Improve block naming and connection logic

Enhancements:
- Separate node specification from Block instantiation
- Create a more flexible method for workflow node creation and
connection
- Improve workflow serialization and deserialization process

</details>

</details>
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

Successfully merging a pull request may close this issue.

1 participant