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
Soulter
1b37530c96
Merge remote-tracking branch 'origin/master' into releases/4.0.0
2025-08-02 20:14:18 +08:00
Soulter
db4d02c2e2
docs: add 1panel deployment method
2025-08-02 19:01:49 +08:00
Soulter
fd7811402b
fix: 添加对 metadata 中 description 字段的支持,确保元数据完整性
...
fixes : #2245
2025-08-02 16:01:10 +08:00
你们的饺子
eb0325e627
fix: 修复了 OpenAI 类型的 LLM 空内容响应导致的无法解析 completion 的错误。 ( #2279 )
2025-08-02 15:46:11 +08:00
Soulter
842c3c8ea9
Refactor: using sqlmodel(sqlchemy+pydantic) as ORM framework and switch to async-based sqlite operation ( #2294 )
...
* stage
* stage
* refactor: using sqlchemy as ORM framework, switch to async-based sqlite operation
- using sqlmodel as ORM(based on sqlchemy and pydantic)
- add Persona, Preference, PlatformMessageHistory table
* fix: conversation
* fix: remove redundant explicit session.commit, and fix some type error
* fix: conversation context issue
* chore: remove comments
* chore: remove exclude_content param
2025-08-02 15:44:00 +08:00
IGCrystal
8b4b04ec09
fix(i18n): add missing noTemplates key ( #2292 )
2025-08-02 14:16:59 +08:00
Larch-C
9f32c9280f
chore: update and rename PLUGIN_PUBLISH.md to PLUGIN_PUBLISH.yml ( #2289 )
2025-08-02 14:16:19 +08:00
yrk111222
4fcd09cfa8
feat: add ModelScope API support ( #2230 )
...
* add ModelScope API support
* update
2025-08-02 14:14:08 +08:00
Misaka Mikoto
7a8d65d37d
feat: add plugins local cache and remote file MD5 validation ( #2211 )
...
* 修改openai的嵌入模型默认维度为1024
* 为插件市场添加本地缓存
- 优先使用api获取,获取失败时则使用本地缓存
- 每次获取后会更新本地缓存
- 如果获取结果为空,判定为获取失败,使用本地缓存
- 前端页面添加刷新按钮,用于手动刷新本地缓存
* feat: 增强插件市场缓存机制,支持MD5校验以确保数据有效性
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-08-02 14:03:53 +08:00
Raven95676
23129a9ba2
Merge branch 'releases/3.5.23'
v3.5.23
2025-07-26 16:49:38 +08:00
Raven95676
7f791e730b
fix: changelogs
2025-07-26 16:49:05 +08:00
Raven95676
f7e296b349
Merge branch 'releases/3.5.23'
2025-07-26 16:34:30 +08:00
Raven95676
712d4acaaa
release: v3.5.23
2025-07-26 16:32:06 +08:00
Raven95676
74a5c01f21
refactor: remove code and documentation references related to gewechat
2025-07-26 14:19:17 +08:00
Raven95676
3ba8724d77
Merge branch 'master' into dev
2025-07-26 14:02:05 +08:00
鸦羽
6313a7d8a9
Merge pull request #2221 from Raven95676/fix/axios-dependency
...
fix: update axios version range for vulnerability fix
2025-07-24 18:34:14 +08:00
Raven95676
432a3f520c
fix: update axios version range for vulnerability fix
2025-07-24 18:28:02 +08:00
Soulter
191b3e42d4
feat: implement log history retrieval and improve log streaming handling ( #2190 )
2025-07-23 23:36:08 +08:00
Misaka Mikoto
a27f05fcb4
chore: 修改 OpenAI 嵌入模型提供商默认向量维度为1024 ( #2209 )
2025-07-23 23:35:04 +08:00
Soulter
2f33e0b873
chore: remove adapters of wechat personal account
2025-07-23 10:51:42 +08:00
Soulter
f0359467f1
chore: remove adapters of wechat personal account
2025-07-23 10:50:43 +08:00
Soulter
d1db8cf2c8
chore: remove adapters of wechat personal account
2025-07-23 10:48:58 +08:00
Soulter
b1985ed2ce
Merge branch 'dev'
2025-07-23 00:38:08 +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
d7fd616470
style: code quality
2025-07-21 17:04:29 +08:00
Soulter
3ccbef141e
perf: extension ui
2025-07-21 15:16:49 +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
bd270aed68
fix: handle event construction errors in message reply processing
2025-07-20 22:52:14 +08:00
Soulter
28d7864393
perf: tool use page UI ( #2182 )
...
* perf: tool use UI
* fix: update background color of item cards in ToolUsePage
2025-07-20 20:24:03 +08:00
RC-CHN
b5d8173ee3
feat: add a file uplod button in WebChat page ( #2136 )
...
* feat:为webchat页面添加一个手动上传文件按钮(目前只处理图片)
* fix:上传后清空value,允许触发change事件以多次上传同一张图片
* perf:webchat页面消息发送后清空图片预览缩略图,维持与文本信息行为一致
* perf:将文件输入的值重置为空字符串以提升浏览器兼容性
* feat:webchat文件上传按钮支持多选文件上传
* fix:释放blob URL以防止内存泄漏
* perf:并行化sendMessage中的图片获取逻辑
2025-07-20 16:02:28 +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
d89fb863ed
fix: improve logging and error message details in LLMRequestSubStage
2025-07-18 16:13:27 +08:00
Soulter
a21ad77820
Merge pull request #2146 from Raven95676/fix/mcp
...
fix: 修复MCP导致的持续占用100% CPU
2025-07-18 13:04:50 +08:00
Raven95676
f86c8e8cab
perf: ensure MCP client termination in cleanup process
2025-07-17 23:17:23 +08:00
Raven95676
cb12cbdd3d
fix: managing MCP connections with AsyncExitStack
2025-07-16 23:44:51 +08:00
Soulter
6661fa996c
fix: audio block does not display
2025-07-14 22:20:03 +08:00
Soulter
c19bca798b
fix: xfyun model tool use error workaround
...
fixes : #1359
2025-07-14 22:07:33 +08:00
Soulter
8f98b411db
Merge pull request #2129 from AstrBotDevs/perf-refine-webui-chatpage
...
Improve: WebUI ChatPage markdown code block background
2025-07-14 21:49:18 +08:00
Soulter
a8aa03847e
feat: enhance theme customization with new background properties and markdown styling
2025-07-14 21:47:25 +08:00
Soulter
1bfd747cc6
perf: add system_prompt to payload_vars in dify text_chat method
2025-07-14 11:00:13 +08:00
Soulter
ae06d945a7
Merge pull request #2054 from RC-CHN/master
...
Feature: Add provider_type field for ProviderMetadata and improve provider availabiliby test
2025-07-13 17:38:22 +08:00
Soulter
9f41d5f34d
Merge remote-tracking branch 'origin/master' into RC-CHN/master
2025-07-13 17:35:53 +08:00
Soulter
ef61c52908
fix: remove non-existent Response field
2025-07-13 17:33:13 +08:00
Soulter
d8842ef274
perf: code quality
2025-07-13 17:27:40 +08:00
Soulter
c88fdaf353
Merge pull request #1949 from advent259141/Astrbot_session_manage
...
[Feature] 支持在 WebUI 上管理会话
2025-07-13 17:23:52 +08:00
Soulter
af295da871
chore: remove /mcp command
2025-07-13 17:11:02 +08:00
Soulter
083235a2fe
feat: enhance session management page with tooltips and layout adjustments
2025-07-13 17:06:15 +08:00
Soulter
2a3a5f7eb2
perf: refine session management page ui
2025-07-13 16:57:36 +08:00
Soulter
77c48f280f
fix: session management paginator error
2025-07-13 16:36:25 +08:00