Soulter
6849af2bad
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 18:59:17 +08:00
Soulter
6d00717655
feat: add streaming support with toggle in chat interface and adjust layout for mobile
2025-11-09 21:57:30 +08:00
LIghtJUNction
0b7fc29ac4
style: add ruff lint module of isort and pyupgrade, and some ruff check fix ( #3214 )
...
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-11-01 13:26:19 +08:00
Soulter
80fccc90b7
feat: 支持接入企业微信智能机器人平台 ( #3034 )
...
* stage
* stage
* feat: 支持图片收发
* feat: add support for wecom_ai_bot in getPlatformIcon function
2025-10-14 23:20:56 +08:00
Soulter
7740e1e131
ci: add ci stage of code format checking ( #2750 )
...
* style: ruff format
* ci(dashboard-ci): ensure GitHub Release action only runs on push events
* ci(code-format): ruff format and ruff check
2025-09-14 18:05:58 +08:00
Soulter
64bcbc9fc0
refactor: 重构 SharedPreference 类并采用数据库存储替换 json 存储 ( #2482 )
2025-08-18 19:12:26 +08:00
Soulter
5c60dbe2b1
fix: 修复 WebChat 下可能消息错位的问题
2025-07-10 16:52:16 +08:00
Soulter
5f0d601baa
feat: add support for selecting provider and models in webchat
2025-07-03 10:42:20 +08:00
Soulter
6a503b82c3
refactor: web chat queue management and streamline chat route handling
2025-07-01 22:34:17 +08:00
Soulter
8203fdb4f0
fix: webchat show tool call
2025-06-29 21:35:39 +08:00
Soulter
2f941de65b
feat: 支持展示工具使用过程
2025-06-29 21:19:40 +08:00
Raven95676
c111da4681
refactor: 修改框架路径获取方式,规范化路径拼接
2025-05-06 17:30:34 +08:00
Raven95676
3753fce912
perf: 为发送流式消息的Fallback可选
2025-04-15 21:21:02 +08:00
Soulter
bced9ffff9
🐛 fix: 修复zhipu工具调用问题
2025-04-12 15:24:37 +08:00
zhx
b62b1f3870
feat: 添加插件能针对不同消息平台开启关闭的功能
...
Squashed:
chore: merge master branch
chore: merge from master branch
chore: rename updateAllPlatformCompatibility to update_all_platform_compatibility for consistency
Reviewed by:
@Raven95676 @Soulter
2025-04-09 17:27:44 +08:00
Soulter
c1cf2be533
✨ feat: 完善流式处理
2025-04-06 11:56:06 +08:00
Soulter
109650faf3
✨ feat: 支持流式输出
2025-04-06 00:56:33 +08:00
Soulter
57ce69f3fb
✨ feat: WebChat 支持语音输出
...
fixes : #1087
2025-04-05 15:02:34 +08:00
Soulter
c610719a44
✨ feat: 为各平台适配器支持优雅关闭
2025-03-22 19:02:49 +08:00
Soulter
cf08e52a92
style: cleanup
2025-03-06 23:52:15 +08:00
Soulter
8fbcbcd4c0
🐛 fix: webchat cannot send active image message #710
2025-03-05 22:34:37 +08:00
Soulter
90e2e14cd7
fix: circular import
2025-03-04 00:52:28 +08:00
Soulter
49bba9bf98
style: format codes
2025-03-03 13:30:55 +08:00
Raven95676
9f9da1e0c9
🐛 fix: 修复webchat未处理base64的问题
2025-02-21 23:39:53 +08:00
Soulter
0c8ebc2b06
chore: clean up
2025-02-16 16:52:13 +08:00
Soulter
5806c74e7c
chore(core): display the unsupported message segments
2025-02-11 01:10:17 +08:00
Soulter
637acd1a12
feat: 适配 OpenAI TTS API,并支持 Napcat,Gewechat,Lagrange 的语音输出
2025-01-25 19:46:00 +08:00
Soulter
f1599e26b3
perf: webchat 主动信息
2025-01-16 11:19:02 +08:00
Soulter
e6c985ce4e
feat: 优化WebChat长连接的逻辑
2025-01-13 12:42:32 +08:00
Soulter
ba198490fa
feat: 支持自部署 Whisper 模型
2025-01-11 20:31:21 +08:00
Soulter
0f9ab082ab
perf: 优化webchat,没有结果返回时的反馈
2025-01-11 19:45:42 +08:00
Soulter
a09998f910
feat: webchat 支持语音输入
2025-01-11 18:54:40 +08:00
Soulter
22c13c1eff
perf: webchat支持传图
2025-01-11 00:06:19 +08:00
Soulter
480dffb51b
feat: 初步实现 webchat 页面
2025-01-10 21:48:15 +08:00