Soulter
6d00717655
feat: add streaming support with toggle in chat interface and adjust layout for mobile
2025-11-09 21:57:30 +08:00
Soulter
0e841a8b25
fix: correct tools dictionary comprehension in get_tool_list method
2025-11-05 21:19:10 +08:00
Misaka Mikoto
a0690a6afc
feat: support options to delete plugins config and data ( #3280 )
...
* - 为插件管理页面中,删除插件提供一致的二次确认(原本只有卡片视图有二次确认)
- 二次确认时可选删除插件配置和持久化数据
- 添加对应的i18n支持
* ruff
* 移除未使用的
const $confirm = inject('$confirm');
2025-11-04 11:48:48 +08:00
Copilot
94bf3b8195
Fix incorrect type annotations and errors ( #3250 )
...
* Initial plan
* Fix type annotation errors in cmd_conf, cmd_init, and version_comparator
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
* Changes before error encountered
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
* Fix more type annotation errors: change `= None` to `| None = None`
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
* Fix final batch of type annotation errors
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
2025-11-02 17:02:56 +08:00
Copilot
e190bbeeed
Optimize string concatenation in loops: replace += with list.join() ( #3246 )
...
* Initial plan
* Fix string concatenation performance issues in loops
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
* Address code review feedback: Fix plugin list logic and add comment
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
* Improve comment clarity for at_parts accumulation
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
2025-11-02 13:00:59 +08:00
Copilot
c8e34ff26f
[WIP] Translate mixed English comments to Chinese ( #3256 )
...
* Initial plan
* Changes before error encountered
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: LIghtJUNction <106986785+LIghtJUNction@users.noreply.github.com >
2025-11-02 12:52:46 +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
0622d88b22
fix: revert 3106 ( #3153 )
...
* fix: revert 3106
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com >
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
Co-authored-by: exynos <110159911+xiaoxi68@users.noreply.github.com >
* Update astrbot/dashboard/routes/update.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* fix: remove unnecessary version file handling in download_dashboard function
* fix: revert
---------
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com >
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
Co-authored-by: exynos <110159911+xiaoxi68@users.noreply.github.com >
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-10-26 21:26:48 +08:00
Soulter
6dd9bbb516
feat: enhance plugin metadata with display name and logo support
2025-10-26 20:30:54 +08:00
Soulter
51246ea31b
fix: apply configuration option to enable/disable WebUI in AstrBotDashboard ( #3152 )
2025-10-26 17:29:04 +08:00
Soulter
33618c4a6b
feat: add dynamic embedding dimension retrieval for providers and enhance error handling
2025-10-25 16:39:11 +08:00
Soulter
f7d018cf94
feat: add pre-checks for embedding and rerank providers in KnowledgeBaseRoute
2025-10-25 15:22:35 +08:00
lxfight
4188deb386
fix: 简化日志错误信息格式
2025-10-25 14:13:23 +08:00
lxfight
82cf4ed909
fix: 使用ruff格式化文件代码
2025-10-25 14:10:26 +08:00
lxfight
6cb5527894
feat: 添加会话知识库配置的 API 接口,支持获取、设置和删除会话配置,优化知识库选择界面
2025-10-25 13:52:57 +08:00
Soulter
b1b53ab983
Merge remote-tracking branch 'origin/master' into lwl-dev/knowledge-base
2025-10-24 21:48:47 +08:00
Soulter
4cedc6d3c8
feat: add t-SNE visualization for FAISS index and enhance knowledge base retrieval with debug mode
2025-10-24 21:22:46 +08:00
Soulter
9430e3090d
feat: add progress callback for document upload and enhance upload progress tracking
2025-10-24 17:13:44 +08:00
Soulter
ba44f9117b
feat: enhance document upload process with batch settings and improved chunk handling
2025-10-24 16:37:37 +08:00
Soulter
eb56710a72
feat: add chunk size, overlap, and top K parameters to knowledge base response
2025-10-24 15:10:47 +08:00
Soulter
1fd482e899
feat: update chunk deletion to include document ID and refresh metadata
2025-10-24 14:18:32 +08:00
Soulter
2f130ba009
feat: delete chunk and delete document
2025-10-24 13:59:17 +08:00
Soulter
7e0a50fbf2
feat: enhance knowledge base retrieval with chunk metadata and pagination support; remove unused chunk model
2025-10-24 00:44:40 +08:00
Soulter
59df244173
improve
2025-10-23 21:20:41 +08:00
Soulter
e3aa1315ae
stage
2025-10-23 00:31:15 +08:00
Soulter
a0f8f3ae32
style: ruff format
2025-10-21 00:21:42 +08:00
lxfight
2fc77aed15
feat: 添加知识库检索功能,支持根据知识库 ID 列出相关会话;更新相关界面和国际化文本
2025-10-20 22:23:35 +08:00
exynos
f122b17097
fix(update): 取消 WebUI 与核心版本对比,消除“webui有新版本!”的误报 ( #3106 )
...
* fix(update): 取消 WebUI 与核心版本对比,消除“webui有新版本!”的误报
不再比较 dv 与核心版本
* fix(update): 保留dv逻辑,新增installed标识以避免误报
新增安装状态布尔值,保留“dv 是否存在”的信息
* Fix dashboard version update check logic
---------
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
2025-10-20 16:15:42 +08:00
Soulter
2c5f68e696
refactor: 重构创建平台时的流程及一些 UI 优化 ( #3102 )
...
* refactor: 支持在平台直接选择配置文件
* add webchat
* feat: 支持新建平台时现场预览、创建和编辑配置文件
* fix: update configuration file descriptions and visibility based on updating mode
* perf: use incremental decoder
* perf: update descriptions
* fix: UI update issues in config file dialog
* fix: update UI elements for better readability and organization
* feat: enhance sidebar navigation with group feature and dynamic resizing
Co-authored-by: IGCrystal <3811541171@qq.com >
* refactor: persona selector
* perf: 修改部分默认行为
* fix: adjust ExtensionCard layout and improve responsiveness
* refactor: 配置文件绑定消息平台重构为消息平台绑定配文件
* style: add custom styling for v-select selection text
* fix: correct subtitle text in provider.json
* refactor: update conversation management terminology and improve session ID handling
* refactor: add Conversation ID localization and update table header reference
* Update astrbot/core/db/migration/migra_45_to_46.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* style: format logger warning for better readability
* refactor: comment out WebChat configuration for future reference
---------
Co-authored-by: IGCrystal <3811541171@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-20 12:01:06 +08:00
lxfight
333bf56ddc
feat:知识库卡片渲染统计信息。
2025-10-19 22:40:01 +08:00
lxfight
99cf0a1522
feat: 添加知识库 Dashboard API 路由
...
- 实现知识库管理 API(创建、删除、列表、更新)
- 实现文档管理 API(上传、删除、列表、分块信息)
- 实现知识库检索测试 API(支持调试和验证)
- 实现会话配置 API(绑定/解绑知识库、配置检索参数)
- 实现全局配置 API(启用/禁用、模型选择、检索参数)
- 在 Dashboard 服务器中注册知识库路由
2025-10-19 18:41:54 +08:00
Soulter
9ab652641d
feat: 支持配置工具调用超时时间并适配 ModelScope 的 MCP Server 配置 ( #3039 )
...
* feat: 支持配置工具调用超时时间并适配 ModelScope 的 MCP Server 配置。
closes : #2939
* fix: Remove unnecessary blank lines in _quick_test_mcp_connection function
2025-10-15 12:06:57 +08:00
Dt8333
a6e8483b4c
fix: 修复session-management中人格错误的显示为默认人格的问题 ( #3000 )
...
* fix: 修复session-management中人格错误的显示为默认人格的问题
#2985
* refactor: 使用命名表达式简化赋值和条件
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* style: format edited code with ruff
format code edited by sourcery-ai
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-10-12 00:12:04 +08:00
Dt8333
080f347511
feat: clean browser cache after update ( #2958 )
...
* feat: clean browser cache after update
* fix: move const to module
* fix: remove self prefix (a stupid mistake)
2025-10-06 16:29:18 +08:00
kterna
8bdd748aec
feat: 支持注册消息平台适配器的 logo ( #2109 )
...
* feat: 添加平台适配器 logo 支持
* 优化平台logo注册逻辑,增加缓存机制并支持并行处理
* 去除判断绝对路径
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-02 14:36:15 +08:00
ctrlkk
68ff8951de
feat: 添加分页和搜索功能以获取会话列表,优化前端与后端的数据交互 ( #2906 )
...
* feat: 添加分页和搜索功能以获取会话列表,优化前端与后端的数据交互
* fix: 修复会话计数显示,使用总项数替代会话数组长度
* fix: 将参数类型和名称与实现内容匹配。
* perf: convert for loop into list comprehension
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* fix: type checking error
* fix: 优化 persona_id 的获取逻辑
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com >
2025-09-28 23:25:30 +08:00
Soulter
c2a34475f1
feat: 支持删除指定会话以及部分会话管理优化 ( #2895 )
...
* feat: add toast notification system with snackbar component
* feat: add session deletion functionality
* feat: support batch operations for updating session persona, provider, LLM, and TTS statuses
fix : #2263
* feat: 修复对话状态关闭,删除对话管理库会导致对话无法恢复
fixes : #2309
2025-09-27 20:36:30 +08:00
Soulter
a69195a02b
fix: webchat streaming queue interrupted after user closing tab ( #2892 )
...
* feat: add toast notification system with snackbar component
* feat: enhance chat functionality with conversation running state and notifications
* fix: update bot message avatar rendering during streaming
* feat: implement conversation tracking context manager for webchat
* fix: update conversation tracking to remove conversation ID on exit
2025-09-27 17:57:12 +08:00
Soulter
23549f13d6
Feature: 支持批量删除对话历史 ( #2859 )
...
* feat: 支持批量删除对话
closes : #2784
* feat: 添加加载状态禁用功能,优化用户交互体验
2025-09-23 22:10:56 +08:00
Soulter
869d11f9a6
perf: 优化验证配置时的性能,移除配置隐式类型转换
...
fixes : #2646
2025-09-23 21:04:14 +08:00
Soulter
7740e1e131
ci: add ci stage of code format checking ( #2750 )
...
* style: ruff format
* ci(dashboard-ci): ensure GitHub Release action only runs on push events
* ci(code-format): ruff format and ruff check
2025-09-14 18:05:58 +08:00
shangxue
d24902c66d
feat: 添加 --webui-dir 启动参数以支持指定 WebUI 构建文件目录 ( #2680 )
...
* Update main.py
* Update server.py
* Update main.py
* Update main.py
* Update main.py
* Update initial_loader.py
* Update server.py
* Update main.py
* chore: update webui_dir type hint and improve dashboard file check logic
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-12 15:15:29 +08:00
RC-CHN
dc9612d564
fix: 修复自定义文转图模板更新版本后会被覆盖的问题 ( #2677 )
...
* perf: 更新模板管理逻辑,在data目录中管理用户自定义模板,优化热重载逻辑
* refactor: 优化模板管理逻辑,重构模板复制和初始化流程,增强用户模板管理功能
* chore:移除无用注释
* remove:移除了t2i部分中不会走到的异常
* style: format code
* fix: trim whitespace from template names in create, update, and delete operations
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-12 13:34:07 +08:00
Soulter
1770556d56
fix: 修复工具调用时的 content 内容在重新加载后没有显示在 webchat 的问题 ( #2727 )
2025-09-12 13:05:33 +08:00
Soulter
888fb84aee
fix: 修复 WebChat 下,Agent 长时任务时,SSE 连接自动断开的问题
2025-09-12 13:04:27 +08:00
RC-CHN
b31b520c7c
feat: 支持管理 T2I 模版 ( #2638 )
...
* feat:添加t2i模板管理后端api,移除config.py中重复功能
* feat: 添加T2I模板管理功能前端,支持模板的创建、应用和重置
* refactor: 修复错误的保存逻辑,将t2i注册时打印路由信息部分移到基类实现
* remove:移除了路由注册时的打印
* chore: format code
* fix: update input variant from solo to outlined for better UI consistency
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-09-07 00:14:28 +08:00
Soulter
b78fe3822a
perf: 完善对 rerank model 的可用性检测
2025-09-04 15:46:23 +08:00
Soulter
35eda37e83
Merge remote-tracking branch 'origin/releases/v3.5.27'
2025-09-04 15:30:15 +08:00
Soulter
d11f1d8dae
perf: enhance update checks to consider pre-release versions
2025-09-04 14:33:19 +08:00
Soulter
2a7308363e
fix: 下载 WebUI 时,明确版本号
2025-09-04 13:54:16 +08:00