Gao Jinzhe
|
be08f4a558
|
Merge branch 'AstrBotDevs:master' into Astrbot_session_manage
|
2025-06-29 09:11:25 +08:00 |
|
Soulter
|
010f082fbb
|
Merge pull request #1914 from HakimYu/master
fix(AiocqhttpAdapter): 修复at_info.get("nick", "")的错误
|
2025-06-28 21:52:01 +08:00 |
|
Soulter
|
073cdf6d51
|
perf: also consider nick
|
2025-06-28 21:51:10 +08:00 |
|
Soulter
|
4df8606ab6
|
style: code quality
|
2025-06-28 20:08:57 +08:00 |
|
Soulter
|
71442d26ec
|
chore: 移除不必要的 MCP 会话控制
|
2025-06-28 19:58:36 +08:00 |
|
advent259141
|
4f5528869c
|
Merge branch 'Astrbot_session_manage' of https://github.com/advent259141/AstrBot into Astrbot_session_manage
|
2025-06-28 17:00:00 +08:00 |
|
advent259141
|
f16feff17b
|
根据会话mcp开关情况选择性传入 func_tool
修改import的位置
deleted: astrbot/core/star/session_tts_manager.py
复原被覆盖的修改
|
2025-06-28 16:59:00 +08:00 |
|
Soulter
|
71b233fe5f
|
Merge pull request #1942 from QiChenSn/fix-CommandFilter-ParseForBool
fix:修复commandfilter对布尔类型的解析
|
2025-06-28 15:10:29 +08:00 |
|
Soulter
|
770dec9ed6
|
fix: handle boolean parameter parsing correctly in CommandFilter
|
2025-06-28 15:08:19 +08:00 |
|
Soulter
|
2ca95a988e
|
fix: lint warnings
|
2025-06-28 15:05:57 +08:00 |
|
Gao Jinzhe
|
d8aae538cd
|
Merge branch 'AstrBotDevs:master' into Astrbot_session_manage
|
2025-06-28 14:55:38 +08:00 |
|
Soulter
|
cf1e7ee08a
|
Merge pull request #1947 from RC-CHN/master
允许为html_render方法传递参数
|
2025-06-28 14:52:09 +08:00 |
|
Soulter
|
d14513ddfd
|
fix: lint warnings
|
2025-06-28 14:51:35 +08:00 |
|
Soulter
|
9a9017bc6c
|
perf: use union oper for merging dict
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
|
2025-06-28 14:46:29 +08:00 |
|
Soulter
|
3c9b654713
|
Merge pull request #1923 from Magstic/patch-1
Fix: 仪表盘的『插件配置』中不显示 JSON 编辑窗
|
2025-06-28 14:45:14 +08:00 |
|
Magstic
|
80d2ad40bc
|
fix: 仪表盘的『插件配置』中不显示 JSON 编辑窗
该提交与 #1919 关联。
精准定位错误 @Pine-Ln,Fix from Gemini 2.5 Pro.
这个问题是由两个错误叠加造成的:
1. **组件崩溃**:`AstrBotConfig.vue` 混用了 Vue 3 的 `<script setup>` 和旧式 `<script>` 写法,导致作用域冲突,模板无法访问国际化函数 `t`,引发 `ReferenceError: t is not defined`。
2. **设置项不显示**:原代码根据用户已保存的设置数据来渲染字段,导致新增的设置项(如 `editor_mode`)因为用户配置中没有初始值而不显示。
1. **统一 API 写法**:将整个组件重构为纯 `<script setup>` 写法,解决作用域冲突。
2. **修正渲染逻辑**:将 `v-for` 循环改为遍历设置蓝图 (metadata) 而不是用户数据,确保所有定义的设置项都能显示。
|
2025-06-28 14:42:06 +08:00 |
|
advent259141
|
31670e75e5
|
Merge branch 'Astrbot_session_manage' of https://github.com/advent259141/AstrBot into Astrbot_session_manage
|
2025-06-27 18:47:25 +08:00 |
|
advent259141
|
ed6011a2be
|
modified: dashboard/src/i18n/loader.ts
modified: dashboard/src/i18n/locales/en-US/core/navigation.json
增加会话管理英文页面
modified: dashboard/src/i18n/locales/zh-CN/core/navigation.json
增加会话管理中文页面
modified: dashboard/src/i18n/translations.ts
modified: dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts
modified: dashboard/src/views/SessionManagementPage.vue
增加会话管理国际化适配
|
2025-06-27 18:46:02 +08:00 |
|
Gao Jinzhe
|
cdded38ade
|
Merge branch 'AstrBotDevs:master' into Astrbot_session_manage
|
2025-06-27 17:10:08 +08:00 |
|
advent259141
|
f536f24833
|
astrbot/core/pipeline/process_stage/method/llm_request.py
astrbot/core/pipeline/result_decorate/stage.py
astrbot/core/star/session_llm_manager.py
astrbot/core/star/session_tts_manager.py
astrbot/dashboard/routes/session_management.py
astrbot/dashboard/server.py
dashboard/src/views/SessionManagementPage.vue
packages/astrbot/main.py
|
2025-06-27 17:08:05 +08:00 |
|
Ruochen
|
f5bff00b1f
|
Merge branch 'master' of https://github.com/RC-CHN/AstrBot
|
2025-06-27 17:03:58 +08:00 |
|
Ruochen
|
27c9717445
|
feat:允许html_render方法传入配置参数
|
2025-06-27 17:03:26 +08:00 |
|
Soulter
|
863a1ba8ef
|
Merge pull request #1922 from SXP-Simon/master
[feat] (discord_platform_adapter) 增加了对机器人 Role Mention 方法的响应,并且修复了控制面板上 Discord 平台无法优雅重载的 Bug
|
2025-06-27 14:59:37 +08:00 |
|
Soulter
|
cb04dd2b83
|
chore: remove unnecessary codes
|
2025-06-27 14:59:08 +08:00 |
|
Soulter
|
8c7cf51958
|
chore: code format
|
2025-06-27 14:46:23 +08:00 |
|
Soulter
|
244fb1fed6
|
chore: remove useless logger
|
2025-06-27 14:38:31 +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 |
|
Gao Jinzhe
|
646b18d910
|
Merge branch 'AstrBotDevs:master' into master
|
2025-06-27 12:26:15 +08:00 |
|
QiChenSn
|
2f81b2e381
|
fix:修复commandfilter对布尔类型的解析
|
2025-06-27 02:32:10 +08:00 |
|
Soulter
|
1f5a7e7885
|
Merge pull request #1940 from AstrBotDevs/fix-tg-active-reply
fix: cannot make active reply in telegram
|
2025-06-27 00:05:10 +08:00 |
|
Soulter
|
80fca470f2
|
fix: cannot make active reply in telegram
Co-authored-by: youtiaoguagua <cloudcranesss@210625568+cloudcranesss@users.noreply.github.com>
|
2025-06-27 00:04:25 +08:00 |
|
Soulter
|
6e9d9ac856
|
Merge pull request #1907 from IGCrystal/Branch-2
🐞 fix(WebUI): 修复安装插件按钮不可见
|
2025-06-26 23:28:37 +08:00 |
|
Soulter
|
8d6fada1eb
|
feat(ExtensionPage): show confirm dialog when click install plugin button
|
2025-06-26 23:25:59 +08:00 |
|
Soulter
|
3e715399a1
|
fix: 环境变量代理被忽略 (#1895)
|
2025-06-26 08:52:33 +08:00 |
|
Soulter
|
81cc8831f9
|
docs: update plugin issue template
docs: issue template
docs: update issue template
docs: update plugin issue template
fix: issue plugin template
docs: update plugin issue template
|
2025-06-26 08:28:28 +08:00 |
|
Soulter
|
f7370044a7
|
Merge pull request #1903 from IGCrystal/branch-1
✨ feat: 对PlatformPage使用翻译键
|
2025-06-25 22:49:03 +08:00 |
|
Soulter
|
51b015a629
|
Merge pull request #1830 from zhx8702/feat-wechat-tts-mp3towav
feat: wechatpadpro 触发tts时 添加对mp3格式音频支持
|
2025-06-25 22:46:10 +08:00 |
|
Soulter
|
392af7a553
|
fix: add pydub to requirements
|
2025-06-25 22:31:44 +08:00 |
|
鸦羽
|
d2dd07bad7
|
Merge pull request #1920 from AstrBotDevs/feat/gemini-tts
feat: 增加Gemini TTS API实现
|
2025-06-25 14:05:04 +08:00 |
|
回归天空
|
cebcd6925a
|
[fix] (discord_platform_adapter) 解决了 “Discord 平台无法优雅重载” 的 bug
#### 问题现象(AI总结)
- 在通过 Web 面板或配置变更热重载 Discord 平台时,适配器的 terminate() 方法会被调用,但经常出现“卡死”或长时间无响应,导致 Discord 平台无法优雅重载。
- 日志显示停留在“正在清理已注册的斜杠指令...”等步骤,甚至出现超时或异常。
#### 2. 原因分析
- 适配器的 terminate() 方法中,涉及多个异步操作(如取消 polling 任务、清理斜杠指令、关闭客户端)。
- 某些 await 操作(如 await self.client.sync_commands() 或 await self.client.close())在网络异常、事件循环被取消等情况下,可能会阻塞或抛出 CancelledError,导致整个重载流程卡住。
- 之前的实现没有对这些 await 操作加超时保护,也没有分步日志,难以定位具体卡点。
#### 3. 修复措施
- 分步日志:在 terminate() 的每个关键步骤前后都加了详细日志,便于定位卡点。
- 超时保护:对所有关键 await 操作(如 polling 任务取消、指令清理、客户端关闭)都加了 asyncio.wait_for(..., timeout=10),防止无限阻塞。
- 健壮性提升:先 cancel polling 任务,再清理指令,最后关闭客户端。每一步都捕获异常并输出日志,保证即使某一步失败也能继续后续清理。
- 避免重复终止:移除了 run() 方法中的 finally: await self.terminate(),只允许外部统一调度,防止重复调用导致资源冲突或日志重复。
#### 4. 修复效果
- 现在 Discord 平台适配器在热重载或终止时,能优雅地依次完成所有清理步骤,不会因某一步阻塞导致整个流程卡死。
|
2025-06-25 11:46:49 +08:00 |
|
回归天空
|
e7b4357fc7
|
[feat] (discord_platform_adapter) 增加了对机器人 Role Mention 方法的响应
|
2025-06-25 11:41:55 +08:00 |
|
Raven95676
|
dc279dde4a
|
fix: 简化get_audio方法中的提示文本生成逻辑,清除冗余判断逻辑
|
2025-06-25 10:55:51 +08:00 |
|
Raven95676
|
c0810a674f
|
feat: 增加Gemini TTS API实现
|
2025-06-25 10:50:04 +08:00 |
|
HakimYu
|
0760cabbbe
|
feat(AiocqhttpAdapter): 修复reply类型的 Event.from_payload报错
|
2025-06-24 17:20:30 +08:00 |
|
HakimYu
|
3b149c520b
|
fix(AiocqhttpAdapter): 修复at_info.get("nick", "")的错误,并在message_str中针对At类型添加QQ号
|
2025-06-24 16:30:23 +08:00 |
|
Soulter
|
3d19fc89ff
|
docs: 10k star banner
|
2025-06-24 02:07:23 +08:00 |
|
Soulter
|
cd1b1919f4
|
docs: 10k star banner
|
2025-06-24 01:51:46 +08:00 |
|
IGCrystal
|
0ed646eb27
|
🐞 fix(WebUI): 修复安装插件按钮不可见
|
2025-06-23 19:41:56 +08:00 |
|
邹永赫
|
c0c5859c99
|
Merge pull request #1905 from zouyonghe/master
使用定义的Plain类型代替原始基础类型str,保持代码统一性
|
2025-06-23 18:52:56 +09:00 |
|