Soulter
89716ef4da
Merge remote-tracking branch 'origin/master' into feat/agent-runner
2025-11-23 14:48:08 +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
Soulter
bb5f06498e
perf: refine login page
2025-11-09 20:57:45 +08:00
Soulter
6903032f7e
fix: improve knowledge base chip display with truncation and styling ( #3582 )
...
fixes : #3546
2025-11-09 15:30:41 +08:00
Copilot
7c050d1adc
feat: add customizable sidebar module ordering ( #3307 )
...
* Initial plan
* Add sidebar customization feature with drag-and-drop support
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Add dist/ to .gitignore to exclude build artifacts
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Fix memory leak and improve code quality per code review
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Fix i18n key format: use dot notation instead of colon notation
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Fix drag-and-drop to empty list issue
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2025-11-04 23:59:45 +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
Soulter
23096ed3a5
perf: update extension card page style, add config and view-docs button
2025-10-29 00:38:04 +08:00
Soulter
1f2af8ef94
Update dashboard/src/components/shared/ExtensionCard.vue
...
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-10-26 20:52:37 +08:00
Soulter
598ea2d857
refactor: update ExtensionCard styling and improve layout for better responsiveness
2025-10-26 20:49:27 +08:00
Soulter
6dd9bbb516
feat: enhance plugin metadata with display name and logo support
2025-10-26 20:30:54 +08:00
Soulter
3cd0b47dc6
feat: add GitHub link button to ExtensionCard for extensions with a repository
2025-10-26 19:41:00 +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
b1b53ab983
Merge remote-tracking branch 'origin/master' into lwl-dev/knowledge-base
2025-10-24 21:48:47 +08:00
Soulter
3c58d96db5
feat: add configuration for final knowledge base retrieval count and update related components
2025-10-24 14:45:07 +08:00
Soulter
5df3f06f83
fix: persona information is not appearing in the PersonaForm when editing
2025-10-22 17:09:21 +08:00
Soulter
e74f626383
stage
2025-10-21 09:55:14 +08:00
Soulter
ef99f64291
feat(config): 添加 agent 运行器类型及相关配置支持
2025-10-21 00:47:04 +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
RC-CHN
93fcac498c
feat: 添加并优化服务提供商独立测试功能 ( #3024 )
...
* feat: 添加并优化服务提供商独立测试功能
* feat: add small size to action buttons in ItemCard and ProviderPage for better UI consistency
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-13 13:03:20 +08:00
Soulter
25dce05cbb
refactor: improve webchat UI ( #2853 )
2025-09-23 10:19:26 +08:00
Yokami
8f26fd34d1
feat: add copy button for service providers ( #2767 )
2025-09-15 22:17:00 +08:00
Yokami
e841b6af88
feat: 支持在 WebUI 自定义 OpenAI API extra_body 参数 ( #2719 )
...
* feat: 支持OPENAI系 模型的自定义标头,以解决qwen模型无法使用的问题
* fix: 修复AI说的问题
* fix: 布尔开关向右对齐
2025-09-13 13:23:49 +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
655be3519c
perf: 数据迁移完毕之后引导重启程序
...
closes : #2613
2025-09-03 13:21:56 +08:00
Soulter
7b8800c4eb
perf: add option to clear provider selection in ProviderSelector component
2025-09-02 21:49:11 +08:00
Soulter
d2d5ef1c5c
feat: add custom T2I template editor ( #2581 )
2025-08-31 11:11:55 +08:00
Soulter
6e61ee81d8
feat: 插件配置支持多个快捷魔法配置项
2025-08-23 21:53:26 +08:00
Soulter
d2df4d0cce
Feature: 支持在配置文件配置可用的插件组 ( #2505 )
...
* feat: 增加可用插件集合配置项
* remove: 旧版平台可用性配置
已经基于多配置文件实现。
* feat: 应用配置文件插件可用性配置
* perf: hoist if from if
2025-08-20 15:25:41 +08:00
Soulter
e95ad4049b
feat: 添加 WebUI 迁移助手以及相关迁移方法 ( #2477 )
2025-08-17 23:24:30 +08:00
Soulter
47e6ed455e
Feature: 支持在 WebUI 配置文件页中配置默认知识库 ( #2437 )
...
* feat: 支持配置默认知识库
* chore: clean code
2025-08-15 12:40:46 +08:00
Soulter
be8a0991ed
feat: 添加条件显示逻辑以优化插件配置项的可见性管理 ( #2433 )
2025-08-14 14:56:31 +08:00
Soulter
cf64e6c231
Merge remote-tracking branch 'origin/master' into releases/4.0.0
2025-08-14 13:36:19 +08:00
Soulter
1d766001bb
Feature: 增加图片转述提供商配置、支持用户自定义模型模态能力 ( #2422 )
...
* feat: 增加图片转述提供商配置、支持用户自定义模型模态能力
* fix: 修复 LLMRequestSubStage 中会话管理方法参数不一致的问题,简化方法调用
2025-08-13 19:11:17 +08:00
Soulter
369eab18ab
Refactor: 重构配置文件管理,以支持更灵活的、会话粒度的(基于 umo part)配置文件隔离 ( #2328 )
...
* refactor: 重构配置文件管理,以支持更灵活的、基于 umo part 的配置文件隔离
* Refactor: 重构配置前端页面,新增数个配置项 (#2331 )
* refactor: 重构配置前端页面,新增数个配置项
* feat: 完善多配置文件结构
* perf: 系统配置入口
* fix: normal config item list not display
* fix: 修复 axios 请求中的上下文引用问题
2025-08-13 09:18:49 +08:00
RC-CHN
73edeae013
perf: 优化hint渲染方式,为部分类型供应商添加默认的温度选项 ( #2321 )
...
* feat:为webchat页面添加一个手动上传文件按钮(目前只处理图片)
* fix:上传后清空value,允许触发change事件以多次上传同一张图片
* perf:webchat页面消息发送后清空图片预览缩略图,维持与文本信息行为一致
* perf:将文件输入的值重置为空字符串以提升浏览器兼容性
* feat:webchat文件上传按钮支持多选文件上传
* fix:释放blob URL以防止内存泄漏
* perf:并行化sendMessage中的图片获取逻辑
* perf:优化hint渲染方式,为部分类型供应商添加默认的温度选项
2025-08-12 21:53:06 +08:00
Soulter
e92fbb0443
feat: add ProxySelector component for GitHub proxy configuration and connection testing ( #2185 )
2025-07-21 15:05:49 +08:00
Soulter
17d62a9af7
refactor: mcp server reload mechanism ( #2161 )
...
* refactor: mcp server reload mechanism
* fix: wait for client events
* fix: all other mcp servers are terminated when disable selected server
* fix: resolve type hinting issues in MCPClient and FuncCall methods
* perf: optimize mcp server loaders
* perf: improve MCP client connection testing
* perf: improve error message
* perf: clean code
* perf: increase default timeout for MCP connection and reset dialog message on close
---------
Co-authored-by: Raven95676 <Raven95676@gmail.com >
2025-07-20 15:53:13 +08:00
Soulter
a0d6b3efba
perf: improve provider logo display in webui
2025-07-13 15:27:53 +08:00
Soulter
7b01adc5df
perf: better webui
2025-07-08 00:33:22 +08:00
Soulter
9e3cc076b7
🐞 fix(ReadmeDialog): add variant attribute to close button for consistency
2025-07-06 18:13:00 +08:00
IGCrystal
14a8bb57df
🐞 fix(WebUI): 解决XSS注入的问题
2025-07-06 18:08:17 +08:00
Raven95676
a4e999c47f
feat: 添加风险插件安装确认对话框以及风险插件标签特殊处理
2025-07-03 22:16:00 +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
IGCrystal
38eae1d1ee
🐞 fix: 进一步的检查与校准
2025-06-17 12:22:00 +08:00
IGCrystal
7c27520d57
✨ feat: 继续完成剩下组件的国际化
...
ExtensionCard.vue - 插件卡片组件 WaitingForRestart.vue - 重启等待组件 ReadmeDialog.vue - README对话框组件 AstrBotConfig.vue - 配置编辑器组件 ListConfigItem.vue - 列表配置项组件 ItemCardGrid.vue - 卡片网格组件
ChatPage.vue - 聊天页面的录音提示文本 ConfigPage.vue - 配置页面的状态消息 ExtensionPage.vue - 插件页面的加载和状态文本 OnlineTime.vue - 仪表板运行时间组件
2025-06-16 22:44:44 +08:00
IGCrystal
0f95f62aa1
✨ feat: 完成仪表板国际化系统重构
...
✨ 核心特性:
- 实现模块化i18n架构,支持22个功能模块
- 完成中英双语翻译文件(44个翻译文件)
- 新增懒加载翻译模块,提升性能
- 类型安全的翻译键值验证系统
🌐 国际化覆盖:
- 所有主要页面(15+)完成国际化
- 导航侧边栏、顶栏、共享组件全部支持
- 仪表板统计组件完整国际化
- 登录页面及认证流程完整国际化
🎨 UI/UX 优化:
- 统一顶栏按钮样式(语言切换+主题切换)
- 移动端登录页采用全屏设计
- Logo组件智能换行支持中英文
- 响应式语言切换组件
📱 移动端适配:
- 登录卡片移动端全屏布局
- 悬浮工具栏底部固定定位
- 触摸友好的交互设计
- 多设备响应式支持
🔧 技术改进:
- 模块化翻译文件结构 (core/*, features/*)
- 懒加载机制减少初始包体积
- TypeScript类型定义完整
- 翻译键值自动验证
2025-06-16 13:53:33 +08:00
IGCrystal
6e03218d54
✨ feat: 多语言国际化支持
2025-06-15 23:10:44 +08:00
IGCrystal
075b008740
🐞 fix: 错误修复和代码健壮性
...
- 在 KnowledgeBase.vue 中修正无效的 v-class 指令为 class 属性的问题
- 在 ConsoleDisplayer.vue 中修正 historyNum 属性类型不匹配的问题
- 解决控制台中的 Vue 警告信息
- 在访问 status 前对 err.response 进行空值检查
- 防止“无法读取未定义对象的属性”错误
- 提高 catch 块中错误处理的健壮性
- 对 API 响应数据进行空值检查
- 在处理之前确保数组类型验证
- 修复“无法读取 null 对象的属性”错误
- 改进 beforeUnmount 生命周期中的 D3.js 清理工作
- 对图形数据处理添加防御性编程
2025-06-15 22:45:28 +08:00
IGCrystal
b4fa08c4e2
🎈 perf: 优化登录界面样式
2025-06-12 23:26:01 +08:00
Richard X.
e7f35098e4
fix(readmeDialog): Fix readme dialog markdown rendering over different appearances.
...
Fix readme dialog markdown rendering over different appearances.
2025-06-10 21:46:35 +08:00