Soulter
c51de491a5
refactor: umo custom rules
2025-11-27 13:06:51 +08:00
Soulter
133f27422d
feat: implement i18n of astrbot config ( #3772 )
...
* feat: implement i18n of astrbot config
* feat(config): update configuration metadata with i18n details and future deprecation notes
2025-11-26 16:40:58 +08:00
RC-CHN
abc6deb244
feat: add plugin logo placeholder ( #3784 )
2025-11-26 16:22:11 +08:00
teapot1de
06869b4597
docs: clarify segmented_reply words_count_threshold hint ( #3779 )
...
Update the configuration hint for `words_count_threshold` to explicitly state that it acts as a maximum limit for segmentation, preventing user confusion about it being a minimum trigger.
2025-11-26 16:15:09 +08:00
dependabot[bot]
d32cea9870
chore(deps): bump actions/checkout in the github-actions group ( #3775 )
...
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout ).
Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-26 16:13:42 +08:00
Soulter
4b68100f16
feat(chat): add standalone chat component and integrate with config page for testing configurations ( #3767 )
...
* feat(chat): add standalone chat component and integrate with config page for testing configurations
* feat(chat): add error handling for message sending and session creation
2025-11-24 22:06:02 +08:00
Soulter
5c5515d462
fix: segmented reply regex error handling ( #3771 )
...
* fix: segmented reply regex error handling
closes : #3761
* fix: improve regex handling for segmented replies to support multiline input
* fix: update regex handling in ResultDecorateStage to use findall for segmented replies
* fix: update error logging message for segmented reply regex handling
2025-11-24 22:00:59 +08:00
Soulter
3932b8f982
Merge pull request #3760 from AstrBotDevs/feat/agent-runner
...
refactor: transfer dify, coze and alibaba dashscope from chat provider to agent runner
2025-11-24 15:33:20 +08:00
Soulter
82488ca900
feat(api): enhance file upload method to support mime type and file name
2025-11-24 15:30:49 +08:00
Soulter
29d9b9b2d6
feat(config): add condition for display_reasoning_text based on agent_runner_type
2025-11-24 15:10:17 +08:00
Soulter
02215e9b7b
feat(config): update hint for agent_runner execution method to clarify third-party integration
2025-11-24 15:07:33 +08:00
Soulter
7160b7a18b
fix: dify workflow streaming mode
2025-11-24 15:04:15 +08:00
Soulter
ea8dac837a
feat(config): enhance hint for agent_runner execution method in configuration
2025-11-24 14:42:36 +08:00
Soulter
e2a7a028bd
feat(migration): enhance migration process with error handling and agent runner config updates
2025-11-24 14:37:25 +08:00
Soulter
70db8d264b
fix(config): disable auto_save_history option in configuration
2025-11-24 14:25:14 +08:00
Soulter
0518e6d487
feat(config): add hint for agent_runner execution method in configuration
2025-11-24 14:23:53 +08:00
Soulter
39eb367866
perf: improve file structure
...
- Implemented CozeAPIClient for file upload, image download, chat messaging, and context management.
- Developed DashscopeAgentRunner for handling requests to the Dashscope API with streaming support.
- Created DifyAgentRunner to manage interactions with the Dify API, including file uploads and workflow execution.
- Introduced DifyAPIClient for making asynchronous requests to the Dify API.
- Updated third-party agent imports to reflect new module structure.
2025-11-24 14:00:16 +08:00
Soulter
f1d51a22ad
feat(dashscope_agent_runner): refactor request payload construction and enhance streaming response handling
2025-11-24 13:21:34 +08:00
Soulter
77fb554e8f
feat(dashscope_agent_runner): implement streaming response handling and request payload construction
2025-11-24 13:09:57 +08:00
Soulter
91f8a0ae09
fix(provider_manager): use get method for provider_type check in load_provider
2025-11-24 10:57:13 +08:00
Soulter
370cda7cf0
feat(dify_api_client): add docstring for file_upload method
2025-11-24 10:53:50 +08:00
Soulter
66b3eed273
fix: correct typo in agent state transition log message
2025-11-24 00:03:22 +08:00
Soulter
99b061a143
fix: make session properties required in Session interface
2025-11-23 23:25:29 +08:00
Soulter
5f3c7ed673
feat(conversation): update agent runner type configuration path to provider_settings
2025-11-23 23:05:36 +08:00
Soulter
a6dc458212
feat(third-party-agent): implement streaming response handling and enhance agent execution flow
2025-11-23 23:03:56 +08:00
Soulter
520f521887
feat(provider): enhance agent runner provider selection with subtype filtering
2025-11-23 22:23:23 +08:00
Soulter
01427d9969
feat(config): add hint for non-built-in agent execution model configuration
2025-11-23 22:13:52 +08:00
Soulter
34c03ce983
Merge remote-tracking branch 'origin/master' into feat/agent-runner
2025-11-23 22:06:52 +08:00
Soulter
95e9da42d6
fix(webchat): webchat session cannot be deleted ( #3759 )
2025-11-23 22:03:07 +08:00
Soulter
1338cab61b
feat: add configuration selector for session management and enhance session handling in chat components
2025-11-23 21:53:56 +08:00
Soulter
7ba98c1e91
feat: enhance provider display with grouped categorization and improved filtering
2025-11-23 21:06:16 +08:00
Soulter
9a5f507cbe
feat: enable agent runner providers in configuration
2025-11-23 20:58:18 +08:00
Soulter
d560671d1f
feat: agent runner config migration
2025-11-23 20:54:19 +08:00
Soulter
82c9cf4db6
chore: remove legacy coze and dashscope provider
2025-11-23 20:18:51 +08:00
Soulter
910ec6c695
feat: implement third party agent sub stage and refactor provider management
...
- Added `ThirdPartyAgentSubStage` to handle interactions with third-party agent runners (Dify, Coze, Dashscope).
- Refactored `star_request.py` to ensure consistent return types in the `process` method.
- Updated `stage.py` to initialize and utilize the new `AgentRequestSubStage`.
- Modified `ProviderManager` to skip loading agent runner providers.
- Removed `Dify` source implementation as it is now handled by the new agent runner structure.
- Enhanced `DifyAPIClient` to support file uploads via both file path and file data.
- Cleaned up shared preferences handling to simplify session preference retrieval.
- Updated dashboard configuration to reflect changes in agent runner provider selection.
- Refactored conversation commands to accommodate the new agent runner structure and remove direct dependencies on Dify.
- Adjusted main application logic to ensure compatibility with the new conversation management approach.
2025-11-23 20:18:51 +08:00
Soulter
766d6f2bec
fix(conversation): update session configuration retrieval to use unified message origin
2025-11-23 20:18:51 +08:00
Soulter
9f39140987
fix(conversation): update session configuration retrieval to use unified message origin
2025-11-23 19:59:21 +08:00
Soulter
89716ef4da
Merge remote-tracking branch 'origin/master' into feat/agent-runner
2025-11-23 14:48:08 +08:00
Soulter
3c4ea5a339
chore: bump version to 4.6.1
v4.6.1
2025-11-23 13:58:53 +08:00
Soulter
601846a8c1
docs: refine readme
2025-11-22 18:57:08 +08:00
Soulter
85d66c1056
fix(migration): update migration_done key for webchat session tracking ( #3746 )
2025-11-22 18:51:00 +08:00
Dt8333
b89d3f663c
fix(core.db): 修复升级后webchat未正确迁移的问题 ( #3745 )
...
不是所有人都叫Astrbot
#3722
2025-11-22 18:37:39 +08:00
Soulter
0260d430d1
Merge pull request #3706 from piexian/master
2025-11-22 01:11:35 +08:00
piexian
2e608cdc09
refactor(bailian_rerank): 修复误删除并优化top_n参数处理
...
- 移除不合理的知识库配置读取逻辑
- 添加os模块导入(用于读取环境变量)
- 抽取辅助函数:_build_payload()、_parse_results()、_log_usage()
- 添加自定义异常类:BailianRerankError、BailianAPIError、BailianNetworkError
- 使用.get()安全访问API响应字段,避免KeyError
- 使用raise ... from e保持异常链
2025-11-21 05:34:18 +08:00
piexian
234ce93dc1
refactor(bailian_rerank): 优化代码质量和错误处理
...
- 移除未使用的 os 导入
- 简化 API Key 验证逻辑
- 优化 top_n 参数处理,优先使用传入值
- 改进错误处理,使用 RuntimeError 替代通用 Exception
- 添加异常链保持原始错误上下文
2025-11-21 04:07:45 +08:00
Soulter
4e2154feb7
fix(ci): repository name must be lowercase
v4.6.0
2025-11-20 23:46:34 +08:00
Soulter
604958898c
chore: bump version to 4.6.0
2025-11-20 23:41:20 +08:00
Soulter
a093f5ad0a
fix(dependencies): specify upper version limit for google-genai
2025-11-20 23:32:05 +08:00
Soulter
a7e9a7f30c
fix(gemini): ensure extra_content is not empty before processing
2025-11-20 23:30:19 +08:00
Soulter
5d1e9de096
Merge pull request #3678 from AstrBotDevs/refactor/webchat-session
...
refactor: Implement WebChat session management and migration
2025-11-20 17:23:10 +08:00