Soulter
|
c4ea3db73d
|
refactor: remove redundant session lock management from message sending logic in RespondStage (#3645)
fixes: #3644
Co-authored-by: Dt8333 <lb0016@foxmail.com>
|
2025-11-15 16:39:49 +08:00 |
|
Dt8333
|
6ac43c600e
|
perf: improve streaming fallback strategy for streaming-unsupported platform (#3547)
* feat: 修改tool_loop_agent_runner,新增stream_to_general属性。
Co-authored-by: aider (openai/gemini-2.5-flash-preview) <aider@aider.chat>
* refactor: 优化text_chat_stream,直接yield完整信息
Co-authored-by: aider (openai/gemini-2.5-flash-preview) <aider@aider.chat>
* feat(core): ✨ 添加streaming_fallback选项,允许进行流式请求和非流式输出
添加了streaming_fallback配置,默认为false。在PlatformMetadata中新增字段用于标识是否支持真流式输出。在LLMRequest中添加判断是否启用Fallback。
#3431 #2793 #3014
* refactor(core): 将stream_to_general移出toolLoopAgentRunner
* refactor(core.platform): 修改metadata中的属性名称
* fix: update streaming provider settings descriptions and add conditions
* fix: update streaming configuration to use unsupported_streaming_strategy and adjust related logic
* fix: remove support_streaming_message flag from WecomAIBotAdapter registration
* fix: update hint for non-streaming platform handling in configuration
* fix(core.pipeline): Update astrbot/core/pipeline/process_stage/method/llm_request.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix(core.pipeline): Update astrbot/core/pipeline/process_stage/method/llm_request.py
---------
Co-authored-by: aider (openai/gemini-2.5-flash-preview) <aider@aider.chat>
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-11-12 18:01:20 +08:00 |
|
LIghtJUNction
|
0b7fc29ac4
|
style: add ruff lint module of isort and pyupgrade, and some ruff check fix (#3214)
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com>
|
2025-11-01 13:26:19 +08:00 |
|
Soulter
|
d951b99718
|
fix: 发送阶段将 Plain 为空的消息段移除
|
2025-10-03 00:45:07 +08:00 |
|
Soulter
|
a8f874bf05
|
fix: 修复分段回复时,引用消息单独发送导致第一条消息内容为空的问题 (#2757)
|
2025-09-16 10:45:39 +08:00 |
|
Soulter
|
d2df4d0cce
|
Feature: 支持在配置文件配置可用的插件组 (#2505)
* feat: 增加可用插件集合配置项
* remove: 旧版平台可用性配置
已经基于多配置文件实现。
* feat: 应用配置文件插件可用性配置
* perf: hoist if from if
|
2025-08-20 15:25:41 +08:00 |
|
Soulter
|
fbc4f8527b
|
Merge remote-tracking branch 'origin/master' into releases/4.0.0
|
2025-08-19 00:53:36 +08:00 |
|
Soulter
|
90cb5a1951
|
fix: 当返回文本为空并且存在工具调用时错误地被终止事件,导致工具调用结果未被返回 (#2491)
fixes: #2448 #2379
|
2025-08-19 00:52:13 +08:00 |
|
Soulter
|
87f05fce66
|
Fix: 当多个相同消息平台实例部署时上下文可能混乱(共享) (#2298)
* perf: update astrbot event session format, using platfrom id to ensure uniqueness
fixes: #1000
* fix: 更新 MessageSession 类以使用 platform_id 作为唯一标识符,并调整相关方法以确保一致性
* fix: 更新 MessageSession 文档以明确 platform_id 的赋值规则,并调整 get_platform 和 get_platform_inst 方法的返回类型
|
2025-08-02 21:38:55 +08:00 |
|
Gao Jinzhe
|
140ddc70e6
|
feat: 使用会话锁保证分段回复时的消息发送顺序 (#2130)
* 优化分段消息发送逻辑,为分段消息添加消息队列
* 删除了不必要的代码
* style: code quality
* 将消息队列机制重构为会话锁机制
* perf: narrow the lock scope
* refactor: replace get_lock with async context manager for session locks
* refactor: optimize session lock management with defaultdict
---------
Co-authored-by: Soulter <905617992@qq.com>
Co-authored-by: Raven95676 <Raven95676@gmail.com>
|
2025-07-23 00:37:29 +08:00 |
|
Soulter
|
25f7a68a13
|
Merge pull request #1709 from shuiping233/fix-qq-offical-session-bug
fix: qq_official适配器使用SessionController(会话控制)功能时机器人回复消息无法发送到聊天平台
|
2025-06-27 14:35:54 +08:00 |
|
Soulter
|
62d8cf79ef
|
fix: remove deprecated pre_send and post_send calls for specific platforms
|
2025-06-27 14:31:35 +08:00 |
|
Soulter
|
f56355da89
|
perf: 分段回复时,仅在输出的第一句话带上回复/引用
fixes: #521
|
2025-06-11 00:06:14 +08:00 |
|
shuiping233
|
1ce95c473d
|
fix : 在stage.py中专门对qq_official的会话控制器消息进行处理
|
2025-06-08 10:20:09 +08:00 |
|
zhx
|
60ca1efbda
|
feat: 添加wechatpadpro 消息类型47 49的适配
|
2025-06-04 14:36:16 +08:00 |
|
Soulter
|
c852685e74
|
fix: typeerror
|
2025-05-28 01:18:45 -04:00 |
|
Raven95676
|
143702b92b
|
fix(tts): record组件单独发送以保证兼容性
|
2025-05-15 10:18:05 +08:00 |
|
Soulter
|
790b924e57
|
refactor: QQ 采用 http 回调的方式上报文件消息段中的文件信息。
fix: 修复 Lagrange 下合并转发消息失败的问题
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-05-09 03:47:19 -04:00 |
|
Raven95676
|
3753fce912
|
perf: 为发送流式消息的Fallback可选
|
2025-04-15 21:21:02 +08:00 |
|
Soulter
|
83745f83a5
|
🐛 fix: 对飞书适配器 base64 格式数据先保存到本地
|
2025-04-13 15:29:56 +08:00 |
|
Soulter
|
1bf5a21678
|
Merge pull request #1158 from Jackxwb/master
文件发送时支持路径映射
|
2025-04-12 21:01:25 +08:00 |
|
zhx
|
b62b1f3870
|
feat: 添加插件能针对不同消息平台开启关闭的功能
Squashed:
chore: merge master branch
chore: merge from master branch
chore: rename updateAllPlatformCompatibility to update_all_platform_compatibility for consistency
Reviewed by:
@Raven95676 @Soulter
|
2025-04-09 17:27:44 +08:00 |
|
Soulter
|
39693a27e3
|
Merge branch 'master' into master
|
2025-04-09 00:30:51 +08:00 |
|
Soulter
|
bafa473c8e
|
Merge pull request #1157 from AstrBotDevs/feat-streaming
feature: 支持流式输出
|
2025-04-08 22:53:38 +08:00 |
|
Soulter
|
bcc99a8904
|
🐛 fix: 修复 permission 过滤算子的 raise_error 参数失效的问题
|
2025-04-08 14:42:05 +08:00 |
|
Jackxwb
|
b03fe438d0
|
Merge branch 'master' of https://github.com/AstrBotDevs/AstrBot
|
2025-04-07 22:50:03 +08:00 |
|
Raven95676
|
cfd3f4b199
|
流式输出完成后,将完整的LLM响应设置为事件结果
|
2025-04-07 00:17:53 +08:00 |
|
Jackxwb
|
627da3a2bc
|
分离path_Mapping函数
|
2025-04-06 14:50:15 +08:00 |
|
Jackxwb
|
e6b69042de
|
文件发送时支持路径映射
|
2025-04-06 01:06:51 +08:00 |
|
Soulter
|
109650faf3
|
✨ feat: 支持流式输出
|
2025-04-06 00:56:33 +08:00 |
|
Raven95676
|
e54eaab842
|
将验证器字典移到类级别,避免重复创建
|
2025-04-05 21:19:53 +08:00 |
|
Soulter
|
c2b687212c
|
cleanup
|
2025-04-05 16:51:06 +08:00 |
|
anka
|
1c1a65b637
|
fix: 全部消息段的检验弄好了!
|
2025-04-05 00:21:28 +08:00 |
|
anka
|
48d07af574
|
feature(fix?): 在发送消息之前统一检查消息内容是否为空, 不允许发送空消息, 以解决该消息内容不支持查看以及gemini返回<empty content>问题
|
2025-04-03 11:50:12 +08:00 |
|
Soulter
|
50975a87d4
|
🐛 fix: handle message sending failures with error logging
|
2025-03-25 12:34:43 +08:00 |
|
Soulter
|
49bba9bf98
|
style: format codes
|
2025-03-03 13:30:55 +08:00 |
|
Soulter
|
7f6ed674b4
|
‼️🐛 fix: 修复钩子函数无法终止事件传播的问题;修复某些情况下终止事件传播后仍然会请求 LLM 的问题
|
2025-02-28 00:02:17 +08:00 |
|
Soulter
|
b199bddb0b
|
✨ feat: 适配多节点的转发消息(OneBot V11)
|
2025-02-22 21:07:57 +08:00 |
|
Soulter
|
466a1c1c41
|
🐛 fix: 修复某些情况下导致插件报错 AttributeError 的问题 #549
|
2025-02-21 00:38:08 +08:00 |
|
Soulter
|
782c0367d0
|
✨ feat: 事件钩子支持 yield 方式发送消息
|
2025-02-19 15:29:10 +08:00 |
|
Soulter
|
5c32a17787
|
👌perf: 优化了分段回复和回复时at,引用都打开时的一些体验性问题
|
2025-02-15 19:29:34 +08:00 |
|
Soulter
|
65331a9d7c
|
feat: 支持基于对数函数的分段回复延时时间计算
|
2025-02-12 01:44:08 +08:00 |
|
Soulter
|
db4abd169a
|
fix: 优化分段回复
|
2025-01-28 14:42:15 +08:00 |
|
Soulter
|
80058c781a
|
fix: 修复r1思考标签问题和分段回复间隔时间问题
|
2025-01-28 14:03:10 +08:00 |
|
Soulter
|
ceaa69da75
|
feat: 支持消息分段回复
|
2025-01-26 13:45:32 +08:00 |
|
Soulter
|
6cec542402
|
feat: 初步接入 Dify
|
2025-01-07 19:56:18 +08:00 |
|
Soulter
|
193ff24f4c
|
feat: 添加发送消息后的事件钩子
|
2024-12-20 16:31:36 +08:00 |
|
Soulter
|
c675017374
|
feat: 新增LLM请求事件钩子和装饰消息结果钩子
|
2024-12-19 21:33:03 +08:00 |
|
Soulter
|
c6bdac8835
|
format: code lint
(ruff, uv 是个好东西)
|
2024-12-10 22:09:53 +08:00 |
|
Soulter
|
bdfc77d349
|
refactor: im so tired :)
|
2024-12-09 22:38:42 +08:00 |
|