Soulter
e2f928a7e5
chore: bump version to 4.9.2
v4.9.2
2025-12-15 16:58:32 +08:00
Soulter
b8e4068c75
feat: support key-value storage for plugins ( #4048 )
...
* feat: support key-value storage for plugins
* fix: remove unnecessary initialization method from Main class
2025-12-15 16:50:44 +08:00
Soulter
0916177a57
chore: bump version to 4.9.1
v4.9.1
2025-12-15 16:07:10 +08:00
Soulter
02cd5e396b
feat: add trigger probability setting for TTS and support to render slider in schema ( #4047 )
...
* feat: add trigger probability setting for TTS and support to render slider in schema
* chore: ruff format
2025-12-15 16:04:27 +08:00
Soulter
56673ad78f
fix: prevent duplicate result content type after streaming finishes in RespondStage
2025-12-15 15:33:40 +08:00
Soulter
9a4d05e2b6
fix: remove unnecessary persistent attribute from ReadmeDialog and adjust dialog structure in ExtensionPage
2025-12-15 15:27:42 +08:00
Soulter
c3f45449e8
docs: readme
...
wa ta shi wa ko sei no de su ka ra!
2025-12-15 11:47:21 +08:00
Copilot
65da469deb
feat: add conversation export feature to JSONL for AI training ( #4037 )
...
* Initial plan
* Add conversation export functionality (backend and frontend)
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Address code review feedback: move imports, simplify logic, improve i18n
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Simplify frontend download logic: remove redundant Blob wrapper and complex filename parsing
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* fix: update conversation export filename format for consistency
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-12-14 21:44:12 +08:00
Soulter
16df64c405
fix: lark domain and log_level of Lark API client ( #4038 )
...
fixes : #4035
2025-12-14 21:31:17 +08:00
i0cLiceao
6b73b19e54
fix: support using GitHub Raw content as plugin source ( #3975 )
...
* Update plugin.py
* Update plugin.py
* Update plugin.py
* Update plugin.py
2025-12-14 18:23:29 +08:00
Soulter
e7e97730af
chore: bump version to 4.9.0
v4.9.0
2025-12-13 18:49:07 +08:00
Soulter
467ca1eb5c
fix: webui log output incompletely ( #4029 )
...
* fix: webui log output incompletely
* fix: improve SSE log parsing to handle partial data chunks
* fix: enhance log handling by implementing local cache and fetching history
* fix: log time handling to use epoch time
2025-12-13 18:46:16 +08:00
RC-CHN
46528391c2
feat: add pre-chunk import strategy for knowledge base ( #3973 )
...
* feat: 添加文档导入功能及相关测试
* feat: 优化文档上传功能,支持从文件名推断文件类型,并增强文档切片验证
* feat: 添加文档导入功能的无效输入测试,验证 chunks 类型和内容的错误处理
* refactor: 重构文档上传和导入任务的状态管理,添加任务初始化、结果设置和进度更新方法
2025-12-12 23:15:11 +08:00
Soulter
8a0b7717cc
feat: supports webhook mode for Lark platform ( #4016 )
...
* feat: add Lark platform support with unified webhook configuration
* fix: update token verification logic in LarkWebhookServer
* feat: implement event deduplication and cleanup for Lark webhook events
2025-12-12 22:12:13 +08:00
Copilot
3b81fb4985
fix: mobile dialog close button visibility ( #4010 )
...
* Initial plan
* Fix mobile dialog close button visibility by adding max-height and scrollable content
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-12-12 16:02:24 +08:00
Soulter
c09d57a820
refactor: improve UI layout and interaction for list item management ( #4002 )
...
* refactor: improve UI layout and interaction for list item management
* feat: enhance list configuration UI with batch import functionality
* feat: add internationalization support for list configuration UI
2025-12-11 18:55:56 +08:00
Soulter
ec408a2aff
fix: lark message timestamp
2025-12-11 18:20:50 +08:00
Soulter
417179a6b9
ci: add smoke test
2025-12-11 10:44:15 +08:00
Soulter
fcd29445c7
refactor: remove unused current provider initialization in StarRequestSubStage
2025-12-11 10:36:33 +08:00
BiDuang
5f535001db
fix: incorrect modalities enum of gemini api provider ( #3993 )
2025-12-10 20:27:51 +08:00
PaloMiku
750d245b16
docs: Update README with new Zread link and badges ( #3992 )
...
ZRead 是由智谱 AI 推出的 DeepWiki 类似平替品。
2025-12-10 20:22:56 +08:00
Dt8333
f624971613
chore: fix bunches of type checking errors ( #3213 )
...
* chore(core.utils): 🚨 修正错误Lint
* chore(core.provider): 🚨 修复基类错误Lint
* chore(core.utils): 补全session_get()的重载
* chore(core.provider): 🚨 修正实现错误Lint
* chore(core.platform): 🚨 修正platform基类和webchat的错误Lint
* chore(core.platform): 修正错误实现Lint
* fix(core.provider): 修复循环调用和错误assert
* chore(core.platform): 修复部分实现Lint
* chore(core.provider): 补充Dify.text_chat_stream的参数类型
* chore(core.pipeline): 🚨 修复错误Lint
* fix(core.slack): 补充遗漏导入
* chore(core.utils): 修复错误的session_get声明
* chore(core.platform): 移除Lark adapter import中的wildcard
* chore(core.db): 修复声明和部分逻辑
* chore(core.db): 添加typings,使faiss参数能被正确识别。
* chore(core): 修复声明
* chore(core): 修改声明
* chore: 补充faiss声明
* chore(dashboard): 修改实现,减少报错
* chore(package): 修改部分声明与实现,减少报错
* chore(core): 添加Handler的overload,以去除部分assert同时通过类型检查
* chore(core.pipeline): 修改Pipeline Scheduler的execute,将判断属性改为判断类型,通过静态类型检查
* chore(core.config): 添加类型标注,通过类型检查
* chore(core.message): 为File._download_file添加检查,通过类型检查
* fix: 将断言改为条件判断以实现优雅关闭的容错性
* refactor: 移除 discord 客户端中的 assert,改用 if None 判断并抛出异常
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: DiscordPlatformAdapter 对 self.client.user 为 None 做日志并返回,移除断言
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 增强 Lark 相关空值/异常检查并完善日志输出
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 将断言替换为条件检查并加入日志与错误处理
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* chore: 移除LLM生成的无用注释
* refactor: 使用 File.get_file 替换下载逻辑并移除 assert,提供默认 filename
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: Slack Socket 未初始化抛出运行时异常,图片 URL 判空改为非空判断
* refactor: 将 WeChatPadProAdapter 的断言改为空值判断并添加日志
* refactor: 使用 isinstance 替代断言实现类型判断,便于静态检查
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 去除cast,直接使用字段与字典访问,修正端口解析
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 使用 match-case 重构 ProviderManager 加载并通过类型检查抛出 TypeError
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: group_name_display 时若 group 对象为空则记录错误并返回
* fix: 将 _get_current_persona_id 的 assert 替换成 if guard 并返回 None
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 优化插件目录存在性检查及图片URL非空验证,更新JSON排序配置
* fix: 将 datetime_str 的 assert 替换为显式检查并抛出异常
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 移除 cast,改为运行时检查并在找不到调度器时跳过
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 移除 cast,改用 isinstance 检查 FaissVecDB 并警告
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 删除 typing.cast 导入,并在获取文件绝对路径前校验 file_
* refactor: 移除 typing.cast,简化内容安全检查调用
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 将 PlatformMetadata.id 设为必填并在注册时传入 id,移除 cast
* refactor: 移除 cast,改用 HasInitialize 与 isinstance 进行初始化
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 为 ProviderManager.initialize 增加ID类型判断,避免 None 导致 get 失败
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 为 OTTSProvider 与 AzureNativeProvider 引入 _client 与 client 属性改进上下文管理
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 为 Whisper 自托管源添加模型未初始化校验并直接调用 transcribe
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 移除未使用的 cast 导入并简化 platform_name 赋值
* refactor: 引入 cast 并对 id 使用 cast(str, ...) 提升类型安全
* fix: 将 _id_to_sid 返回改为 str,空值返回空串;对 id 与 message_id 使用 cast
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 重构 Discord 处理逻辑:强制 类型转换、优先斜杠指令并优化提及判断
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 统一对 id 获取执行 cast,并在微信消息解析失败时抛错
* Revert "fix: 去除cast,直接使用字段与字典访问,修正端口解析"
This reverts commit 1cbfdf9d1b .
* fix: 百炼 Rerank 会话关闭时返回空结果;初始化 request.prompt 避免空值拼接
* fix: 统一处理搜索结果链接为字符串,新增 _get_url 助手并适配 Bing/Sogo
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 调整 call_handler 泛型、Discord 通道注解及 FishAudioTTS API 请求类型
* refactor: 使用 col(...) 替代列引用并对结果进行 CursorResult 强转
* chore: ruff format
---------
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
Co-authored-by: Soulter <905617992@qq.com >
2025-12-09 14:13:47 +08:00
Soulter
aa6d07afcc
refactor: move all internal commands from astrbot plugin to default_command plugin ( #3960 )
...
* refactor: move all internal commands from astrbot plugin to default_command plugin
* ruff check
* feat: add config
* ruff check
2025-12-08 22:17:32 +08:00
Soulter
2c36649874
feat: add Agent Runner test prompt dialog in ProviderPage ( #3968 )
2025-12-08 21:46:47 +08:00
Soulter
c95735dcc0
docs: update readme
2025-12-08 12:05:57 +08:00
Soulter
03bb278f50
chore: ruff check
2025-12-08 11:00:43 +08:00
Soulter
a5e0974da3
chore: ruff format
2025-12-08 00:36:56 +08:00
vmoranv
f0fb447fbc
feat: custom plugin api source manager ( #3956 )
...
* feat: custom plugin api source manager
* fix: rename plugin source file in a safer way
* chore: turned the way of saving plugin source to backend and refacted some components
* style: clean up whitespace and improve logging message formatting
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-08 00:32:50 +08:00
Soulter
37566182b0
feat: segment reply supports segmentation words ( #3959 )
...
* feat: segment reply supports segmentation words
* chore: ruff format
* feat: enhance segmented reply processing by refining word extraction logic
* ruff format
2025-12-08 00:27:17 +08:00
Soulter
e460b411da
chore: remove dev version from webui ( #3951 )
...
* chore: remove dev version
* chore: remove development version references from header localization files
2025-12-07 15:23:30 +08:00
Soulter
e14ed804da
chore: bump version to 4.8.0
v4.8.0
2025-12-05 19:09:56 +08:00
Oscar Shaw
8e4e49df20
fix: not invoke on_llm_response hook when LLM request has error ( #3871 )
...
* fix: handle on_agent_done in error responses
- Introduced an LLMResponse for error messages to be processed by agent hooks, ensuring better error reporting and handling.
* fix: improve error logging in on_agent_done hook
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2025-12-05 16:13:46 +08:00
Oscar Shaw
5d856900ef
perf: some UI/UX fixes, change Console to Platform Logs ( #3873 )
...
* refactor: 统一‘平台日志’文案
* perf: 优化自动滚动开关键操作逻辑
* perf: add tooltips to save and code editor buttons
2025-12-05 16:02:20 +08:00
Soulter
380a68b96c
chore: add CONTRIBUTING.md
2025-12-05 15:59:18 +08:00
易推倒白毛
8879bd7e9d
fix: add supports for Whisper with QQ amr audio file
...
* fix: Whisper API对QQ语音amr文件的支持
* Update whisper_api_source.py
* fix: cleanup temporary files in Whisper API
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-05 15:41:37 +08:00
RC-CHN
2cce09400f
feat: add Kubernetes manifests for astrbot and napcat deployment with services and persistent storage ( #3901 )
...
* feat: add Kubernetes manifests for astrbot and napcat deployment with services and persistent storage
* chore: remove 11451 port
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-04 20:36:35 +08:00
Oscar Shaw
54d26dcd38
perf: integrate Pinia store for log cache management ( #3852 )
...
* perf: integrate Pinia store for log cache management
* perf: remove unused code
2025-12-04 14:26:05 +08:00
Soulter
205024f27a
fix: correct SQL query syntax in SQLiteDatabase class
2025-12-04 12:51:22 +08:00
Soulter
efde994907
chore: revise badges and language links
...
Updated badge links and language options in README.
2025-12-03 17:21:09 +08:00
Soulter
8ca4f9cb74
feat: update README files for multilingual support and enhanced descriptions
...
- Added French, Russian, and Traditional Chinese README files to support a wider audience.
- Updated English and Japanese README files with improved descriptions of AstrBot's capabilities and features.
- Enhanced community section in all README files to include QQ, Telegram, and Discord group information.
- Adjusted plugin marketplace badge and key features list for clarity and consistency across languages.
2025-12-03 17:01:56 +08:00
Soulter
54e49b997b
feat: enhance platform management with status tracking and error handling
...
- Introduced PlatformStatus enum to manage platform states (pending, running, error, stopped).
- Added error recording and retrieval functionality in the Platform class.
- Implemented a new method in PlatformManager to gather statistics for all platforms.
- Updated the dashboard to display platform statuses and error details, including a dialog for error insights.
- Enhanced localization for runtime statuses and error dialogs in both English and Chinese.
2025-12-03 16:48:57 +08:00
Soulter
5714944eef
feat: unified platform webhook url ( #3889 )
...
* feat: unified platform webhook url
* chore: ruff format
* fix: 修复 Telegram 语音使用 Whisper API 报错 (#3884 )
* Update whisper_api_source.py
* chore: ruff format
---------
Co-authored-by: Soulter <905617992@qq.com >
* Update astrbot/dashboard/routes/platform.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* chore: ruff format
* fix: update webhook dialog descriptions for clarity in English and Chinese locales
* fix: update webhook URL paths to include '/api' prefix for consistency across the application
---------
Co-authored-by: 易推倒白毛 <zhaixingbi@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-03 15:44:52 +08:00
Soulter
defc46b6c9
fix: remove unnecessary blocks in Slack reply message ( #3897 )
2025-12-03 13:59:41 +08:00
Soulter
4d819546b0
fix: handle message sending in QQOfficialMessageEvent class ( #3894 )
...
- Added a fallback to the `_post_send` method without parameters when the stream payload is not set, ensuring proper message handling in all scenarios.
fixes : #3893
2025-12-03 13:15:12 +08:00
易推倒白毛
8006981976
fix: 修复 Telegram 语音使用 Whisper API 报错 ( #3884 )
...
* Update whisper_api_source.py
* chore: ruff format
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-03 02:50:50 +08:00
Soulter
f7a716af43
refactor: message storage format of webchat, support reply and file message segment ( #3845 )
...
* refactor: message storage format of webchat
* refactor: update image and record handling in webchat event processing
* fix: thinking placeholder in webchat
* feat: supports file upload in webchat
* feat: supports to delete attachments when webchat session is deleted
* perf: improve performance of file downloading
* refactor: remove unused import in chat route
* feat: add message timestamp formatting and localization support in chat
* fix: handle missing filename in file upload for chat route
* feat: enhance file handling in chat and webchat, supporting video uploads and improved attachment management
* fix: update property name for embedded files in message handling
* fix: compute variable errors after uninstalling plugins
* feat: supported for reply message and standarlize the message param
* fix: ensure message actions are displayed for the last message in the list
2025-12-02 17:11:08 +08:00
Copilot
a708901e7f
fix: fix dark mode white background in conversation preview dialog ( #3881 )
...
* Initial plan
* Fix dark mode background issue in conversation data preview
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* style: update conversation messages container background color and add debug log for dark mode detection
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-12-02 17:03:59 +08:00
Soulter
e9be8cf69f
chore: bump version to 4.7.4
v4.7.4
2025-12-01 18:42:07 +08:00
Soulter
31d53edb9d
refactor: standardize provider test method implementation
...
- Updated the `test` method in all provider classes to remove return values and raise exceptions for failure cases, enhancing clarity and consistency.
- Adjusted related logic in the dashboard and command routes to align with the new `test` method behavior, simplifying error handling.
2025-12-01 18:37:08 +08:00
Soulter
2ba0460f19
feat: introduce file extract capability ( #3870 )
...
* feat: introduce file extract capability
powered by MoonshotAI
* fix: correct indentation in default configuration file
* fix: add error handling for file extract application in InternalAgentSubStage
* fix: update file name handling in InternalAgentSubStage to correctly associate file names with extracted content
* feat: add condition settings for local agent runner in default configuration
* fix: enhance file naming logic in File component and update prompt handling in InternalAgentSubStage
2025-12-01 18:12:39 +08:00