silvaling

Results comments of silvaling

**结论**:本体 bug —— 属实。报告者的复现(真实 ASGI app 脚本 + 实机 `python main.py` 日志,均见附件)已确认该问题,根因可在 `3d80dd3` 上定位 **根因**:落盘文件名未做唯一化,同名上传互相覆盖;而入库的是文件路径而非副本,多条附件记录因此指向磁盘上同一个文件 —— `astrbot/dashboard/services/chat_service.py:639,652,680 @ 3d80dd3` **建议**:在 `save_uploaded_file()` 落盘时对文件名加唯一前缀,同文件的 `generate_timestamp_id()` 已在 `:675` 与 `:58/:62` 两条兜底分支使用,可直接复用;原始文件名另存字段供显示 —— 注意...

感谢反馈。这条里包含 5 个相互独立的事项,其中 3 项已可在现版本确认结论、2 项属体验建议。逐条回复如下,也建议后续按项拆分追踪,便于各自闭环。 --- ### 1. `/del` 报错 **结论**:属第三方扩展 `AstrBotDevs/builtin_commands_extension` 的问题,已在其中修复,非本体缺陷。 **根因**:该扩展的 `commands/conversation.py` 读取 `provider_settings.agent_runner_type`,而该配置键在 4.28.0 的配置结构调整中已不存在,取值时抛 `KeyError`。同样的写法同时影响 `/ls` 与 `/del`。截图中的报错为: ``` 在调用插件 builtin_commands_extension 的处理函数 del_conv 时出现异常:...

@southerly0710 针对这份日志补充一份读法说明。**结论是:南风并没有产生回复** —— 下面那行容易被误读成「南风说了这句话」,实际不是。 ### 两行的性质不同 日志里这两行内容逐字相同,但来源完全不同: ``` [23:57:12.734] [Core] [INFO] [respond.stage:212]: Prepare to send - 語/2621723635: 嘿~你@我啦… [23:57:12.976] [Core] [INFO] [core.event_bus:74]: [南风] [南风(aiocqhttp)] 圆圆/3603438582: 嘿~你@我啦… ``` - **`respond.stage`** 是响应阶段,负责**发出**消息。收件人是...

A small addition — **there actually is a warning before the drawer is dismissed**, so the "silently" part may need adjusting. The three technical points in the report all check...

Checked this against the code — the described behavior is accurate, but there's something worth confirming first: **this file may not be on the runtime path.** ### The reported problem...

Reproduced. The core issue is real, with two corrections. **Confirmed** — `components/shared/PersonaSelector.vue`: `loadPersonasInFolder()` (L162-175) writes `currentPersonas` unconditionally (L167) and clears `itemsLoading` in `finally` with no token check (L173); `handleNavigate()` (L178-181)...

**结论**:插件问题 —— 报错来自已删除的第三方插件 `astrbot_plugin_temp_chat_fix`,不是本体缺陷。 **根因**:该插件在 `main.py:52` 猴补丁了 aiocqhttp 的 `call_action`,删除时未在 `terminate()` 里还原,于是运行中的 bot 对象上仍留着旧包装,之后每次发送都会穿过那个已删除的文件路径。AstrBot 侧卸载时**有**调用 `terminate()`(`astrbot/core/star/star_manager.py:1703 @ 42972e932`),清理责任在该插件。(静态定位,未实机复现) **建议**:重启 AstrBot 即可消除;并把这条反馈给 `astrbot_plugin_temp_chat_fix` 的仓库,请它在 `terminate()` 中还原 `call_action`。这次发送真正失败的原因是 `no such temp session`(QQ...

**结论**:本体 bug —— 前端硬编码 `exclude_ids='astrbot'`,后端按 `user_id` 前缀排除,平台 ID 为 `astrbot` 的部署会话列表恒为 0(静态定位) **根因**:`ConversationPage.vue:805`、`ConversationWorkspacePage.vue:421` 固定传 `exclude_ids='astrbot'`;`core/db/sqlite.py:434-438` 将其解释为 `user_id NOT LIKE 'astrbot%'`,而 UMO 首段即 platform_id,故整段被排除。 该行源自 `125fc3a62`:当时面板聊天室以登录名(默认 `astrbot`)作为 `user_id` 入库,此行的用意是隐藏面板自身的试聊会话。`47297fa4b`(#9910)把口径改为「WebChat 会话也应可见」,却只移除了配对的 `exclude_platforms`;又因...

**需求本质**:长期对话里,历史每轮会重复携带思维链、工具调用原始数据与图片 URL/base64,挤占上下文并推高 token;希望回传时只保留正文,或提供按类型过滤的开关。 **现状**(已核对代码): - 历史是整包 dump:`astrbot/core/agent/message.py:345` 的 `dump_messages_with_checkpoints()` 直接 `model_dump()` 每个 message 的 content parts,`ThinkPart`(`:90`,含 `think` 与 `encrypted`)与工具结果消息都会写进 `conversation.history` - 图片以 base64 data URI 进入运行上下文:`astrbot/core/agent/runners/tool_loop_agent_runner.py:1064-1077` - 已有可复用机制:带 `_no_save` 的...

**需求本质**:插件页的「技能」与「MCP」两个页签缺少搜索,条目一多就难以定位;既然「插件」和「管理行为」已有搜索,这里希望能对齐。 **现状**: - 技能:`dashboard/src/components/extension/SkillsSection.vue`(2803 行)列表为 `v-for="skill in skills"`(`:107`),无搜索;`:249` 起的 `neoFilters` 是 Neo 发布/候选过滤,不是名称搜索 - MCP:`dashboard/src/components/extension/McpServersSection.vue`(747 行)列表为 `v-for="server in mcpServers || []"`(`:12`),无搜索 - 可复用:`dashboard/src/views/extension/InstalledPluginsTab.vue` 的 `pluginSearch` / `filteredPlugins`(`:82-84`)与搜索框样式(`:250-262`) **建议**:两个 section 各加一个搜索输入...