Soulter
c76b7ec387
Merge remote-tracking branch 'origin/master' into feat/memory
2025-11-21 20:23:41 +08:00
Soulter
b7f3010d72
stage simple webui
2025-11-21 17:59:22 +08:00
Soulter
fbbaf1cd08
delete(memory): remove memory module and its components
2025-11-21 17:34:33 +08:00
Soulter
9c8025acce
stage
2025-11-21 17:25:55 +08:00
Soulter
604958898c
chore: bump version to 4.6.0
2025-11-20 23:41:20 +08:00
Soulter
a7e9a7f30c
fix(gemini): ensure extra_content is not empty before processing
2025-11-20 23:30:19 +08:00
Soulter
774efb2fe0
refactor: update timestamp handling in session management and chat components
2025-11-20 17:29:27 +08:00
Soulter
3ec76636f9
refactor(sqlite): remove auto-generation of session_id in insert method
2025-11-20 17:29:26 +08:00
Soulter
81a76bc8e5
fix: anyio.ClosedResourceError when calling mcp tools ( #3700 )
...
* fix: anyio.ClosedResourceError when calling mcp tools
added reconnect mechanism
fixes: 3676
* fix(mcp_client): implement thread-safe reconnection using asyncio.Lock
2025-11-20 17:29:26 +08:00
Soulter
788764be02
refactor: implement migration for WebChat sessions by creating PlatformSession records from platform_message_history
2025-11-20 17:29:26 +08:00
Soulter
802ab26934
refactor: update session handling by replacing conversation_id with session_id in chat routes and components
2025-11-20 17:29:26 +08:00
Soulter
6857c81a14
refactor: enhance PlatformSession migration by adding display_name from Conversations and improve session item styling
2025-11-20 17:29:26 +08:00
Soulter
a6ed511a30
refactor: update message history deletion logic to remove newer records based on offset
2025-11-20 17:29:26 +08:00
Soulter
44c2b58206
refactor: optimize WebChat session migration by batch inserting records
2025-11-20 17:29:26 +08:00
Soulter
0e2adab3fd
refactor: change to platform session
2025-11-20 17:29:26 +08:00
Soulter
0fe87d6b98
fix: restore migration check for version 4.7
2025-11-20 17:29:26 +08:00
Soulter
31ef3d1084
refactor: Implement WebChat session management and migration from version 4.6 to 4.7
...
- Added WebChatSession model for managing user sessions.
- Introduced methods for creating, retrieving, updating, and deleting WebChat sessions in the database.
- Updated core lifecycle to include migration from version 4.6 to 4.7, creating WebChat sessions from existing platform message history.
- Refactored chat routes to support new session-based architecture, replacing conversation-related endpoints with session endpoints.
- Updated frontend components to handle sessions instead of conversations, including session creation and management.
2025-11-20 17:29:26 +08:00
Soulter
cb087b5ff9
refactor: update timestamp handling in session management and chat components
2025-11-20 17:02:01 +08:00
Soulter
1d3928d145
refactor(sqlite): remove auto-generation of session_id in insert method
2025-11-20 16:33:57 +08:00
Soulter
e9805ba205
fix: anyio.ClosedResourceError when calling mcp tools ( #3700 )
...
* fix: anyio.ClosedResourceError when calling mcp tools
added reconnect mechanism
fixes: 3676
* fix(mcp_client): implement thread-safe reconnection using asyncio.Lock
2025-11-20 16:24:02 +08:00
Dt8333
d5280dcd88
fix(core.platform): 修复启用多个企业微信智能机器人适配器时消息混乱的问题 ( #3693 )
...
* fix(core.platform): 修复启用多个企业微信智能机器人适配器时消息混乱的问题
移除了全局的消息队列,改为每个适配器处理自己的队列。修改相关方法适应该更改。
#3673
* chore: apply suggestions from code review
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-11-20 16:24:02 +08:00
Soulter
77dd89b8eb
feat: add supports for gemini-3 series thought signature ( #3698 )
...
* feat: add supports for gemini-3 series thought signature
* feat: refactor tools_call_extra_content to use a dictionary for better structure
2025-11-20 16:24:02 +08:00
Soulter
aa59532287
refactor: implement migration for WebChat sessions by creating PlatformSession records from platform_message_history
2025-11-20 15:58:27 +08:00
Soulter
b984bb2513
stage
2025-11-20 13:51:53 +08:00
Dt8333
8488c9aeab
fix(core.platform): 修复启用多个企业微信智能机器人适配器时消息混乱的问题 ( #3693 )
...
* fix(core.platform): 修复启用多个企业微信智能机器人适配器时消息混乱的问题
移除了全局的消息队列,改为每个适配器处理自己的队列。修改相关方法适应该更改。
#3673
* chore: apply suggestions from code review
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-11-19 21:44:38 +08:00
Soulter
1935ce4700
refactor: update session handling by replacing conversation_id with session_id in chat routes and components
2025-11-19 19:54:29 +08:00
Soulter
e760956353
refactor: enhance PlatformSession migration by adding display_name from Conversations and improve session item styling
2025-11-19 19:41:57 +08:00
Soulter
be3e5f3f8b
refactor: update message history deletion logic to remove newer records based on offset
2025-11-19 19:41:25 +08:00
Soulter
cdf617feac
refactor: optimize WebChat session migration by batch inserting records
2025-11-19 19:16:15 +08:00
Soulter
afb56cf707
feat: add supports for gemini-3 series thought signature ( #3698 )
...
* feat: add supports for gemini-3 series thought signature
* feat: refactor tools_call_extra_content to use a dictionary for better structure
2025-11-19 18:54:56 +08:00
Soulter
cf4a5d9ea4
refactor: change to platform session
2025-11-18 22:37:55 +08:00
Soulter
0747099cac
fix: restore migration check for version 4.7
2025-11-18 22:07:43 +08:00
Soulter
323ec29b02
refactor: Implement WebChat session management and migration from version 4.6 to 4.7
...
- Added WebChatSession model for managing user sessions.
- Introduced methods for creating, retrieving, updating, and deleting WebChat sessions in the database.
- Updated core lifecycle to include migration from version 4.6 to 4.7, creating WebChat sessions from existing platform message history.
- Refactored chat routes to support new session-based architecture, replacing conversation-related endpoints with session endpoints.
- Updated frontend components to handle sessions instead of conversations, including session creation and management.
2025-11-18 22:04:26 +08:00
RC-CHN
270c89c12f
feat: Add URL document parser for knowledge base ( #3622 )
...
* feat: 添加从 URL 上传文档的功能,支持进度回调和错误处理
* feat: 添加从 URL 上传文档的前端
* chore: 添加 URL 上传功能的警告提示,确保用户配置正确
* feat: 添加内容清洗功能,支持从 URL 上传文档时的清洗设置和服务提供商选择
* feat: 更新内容清洗系统提示,增强信息提取规则;添加 URL 上传功能的测试版标识
* style: format code
* perf: 优化上传设置,增强 URL 上传时的禁用逻辑和清洗提供商验证
* refactor:使用自带chunking模块
* refactor: 提取prompt到单独文件
* feat: 添加 Tavily API Key 配置对话框,增强网页搜索功能的配置体验
* fix: update URL hint and warning messages for clarity in knowledge base upload settings
* fix: 修复设置tavily_key的热重载问题
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-11-17 19:05:14 +08:00
Soulter
c7a58252fe
feat: supports knowledge base agentic search ( #3667 )
...
* feat: supports knowledge base agentic search
* fix: correct formatting of system prompt in knowledge base results
2025-11-17 17:29:18 +08:00
Soulter
adbb84530a
chore: bump version to 4.5.8
2025-11-17 09:58:02 +08:00
piexian
6cf169f4f2
fix: ImageURLPart typo ( #3665 )
...
* 修复新版本更新对不上格式的问题
entities.py生成的格式:{"type": "image_url", "image_url": {"url": "data:image/jpeg;base64,..."}}
ImageURLPart期望的格式:{"type": "image_url", "image_url": "data:image/jpeg;base64,..."}
* Revert "修复新版本更新对不上格式的问题"
This reverts commit 28b4791391 .
* fix(core.agent): 修复ImageURLPart的声明,修复pydantic校验失败的问题。
---------
Co-authored-by: piexian <piexian@users.noreply.github.com >
Co-authored-by: Dt8333 <lb0016@foxmail.com >
2025-11-17 09:52:31 +08:00
Soulter
5ab9ea12c0
chore: bump verstion to 4.5.7
2025-11-16 14:01:25 +08:00
Soulter
fd9cb703db
refactor: update ToolSet initialization to use Pydantic Field and clean up deprecated methods in Context
2025-11-16 12:13:11 +08:00
Soulter
388c1ab16d
fix: ensure parameter properties are correctly handled in spec_to_func
2025-11-16 11:50:58 +08:00
Soulter
f867c2a271
feat: enhance parameter type handling in LLM tool registration with JSON schema support ( #3655 )
...
* feat: enhance parameter type handling in LLM tool registration with JSON schema support
* refactor: remove debug print statement from FunctionToolManager
2025-11-16 00:55:40 +08:00
Soulter
605bb2cb90
refactor: disable debug logging for chunk delta in OpenAI provider
2025-11-15 22:29:06 +08:00
Soulter
5ea15dde5a
feat: enhance LLM handsoff tool execution with system prompt and run hooks
2025-11-15 22:26:13 +08:00
Soulter
e200835074
refactor: remove unused Message import and context_model initialization in LLMRequestSubStage
2025-11-15 21:36:54 +08:00
Soulter
5a11d8f0ee
refactor: LLM response handling with reasoning content ( #3632 )
...
* refactor: LLM response handling with reasoning content
- Added a `show_reasoning` parameter to `run_agent` to control the display of reasoning content.
- Updated `LLMResponse` to include a `reasoning_content` field for storing reasoning text.
- Modified `WebChatMessageEvent` to handle and send reasoning content in streaming responses.
- Implemented reasoning extraction in various provider sources (e.g., OpenAI, Gemini).
- Updated the chat interface to display reasoning content in a collapsible format.
- Removed the deprecated `thinking_filter` package and its associated logic.
- Updated localization files to include new reasoning-related strings.
* feat: add Groq chat completion provider and associated configurations
* Update astrbot/core/provider/sources/gemini_source.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-11-15 21:31:03 +08:00
Soulter
824af5eeea
fix: Provider.meta() error ( #3647 )
...
fixes : #3643
2025-11-15 21:30:05 +08:00
Dt8333
08ec787491
fix(core.platform): make DingTalk user-ID compliant with UMO ( #3634 )
2025-11-15 21:30:05 +08:00
Soulter
b062e83d54
refactor: remove redundant session lock management from message sending logic in RespondStage ( #3645 )
...
fixes : #3644
Co-authored-by: Dt8333 <lb0016@foxmail.com >
2025-11-15 21:30:05 +08:00
Soulter
17422ba9c3
feat: introduce messages field in agent RunContext
2025-11-15 21:15:20 +08:00
Soulter
89e79863f6
fix: ensure image_urls and system_prompt default to empty values in ProviderRequest
2025-11-14 22:45:55 +08:00