Copilot
|
bc0784f41d
|
fix: enable_thinking parameter for qwen3 models in non-streaming calls (#2424)
* Initial plan
* Fix ModelScope enable_thinking parameter for non-streaming calls
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com>
* Tighten enable_thinking condition to only Qwen/Qwen3 models
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com>
* qwen3 model handle
* Update astrbot/core/provider/sources/openai_source.py
Co-authored-by: Copilot <175728472+Copilot@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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2025-08-14 11:18:29 +08:00 |
|
你们的饺子
|
eb0325e627
|
fix: 修复了 OpenAI 类型的 LLM 空内容响应导致的无法解析 completion 的错误。 (#2279)
|
2025-08-02 15:46:11 +08:00 |
|
Soulter
|
c19bca798b
|
fix: xfyun model tool use error workaround
fixes: #1359
|
2025-07-14 22:07:33 +08:00 |
|
uersula
|
8c03e79f99
|
Fix: Remove buggy flag logic in _remove_image_from_context
|
2025-07-08 23:01:11 +08:00 |
|
uersula
|
e678413214
|
Fix: Prevent KeyError in _remove_image_from_context
|
2025-07-07 02:30:50 +08:00 |
|
Soulter
|
ad14e9bf40
|
chore: remove unnecessary logging of payloads in chat completion
|
2025-07-03 10:50:03 +08:00 |
|
Soulter
|
5f0d601baa
|
feat: add support for selecting provider and models in webchat
|
2025-07-03 10:42:20 +08:00 |
|
Raven95676
|
72702beb0b
|
chore: clean code
|
2025-07-02 10:29:10 +08:00 |
|
Soulter
|
4e3d5641c8
|
chore: code quality
|
2025-06-29 15:51:56 +08:00 |
|
Soulter
|
a55a07c5ff
|
remove: useless provider init params
|
2025-06-29 14:43:36 +08:00 |
|
Soulter
|
94ee8ea297
|
feat: 支持多轮次工具调用并且存储到数据库
移除了 llm tuner 适配器
|
2025-06-29 14:27:00 +08:00 |
|
Soulter
|
29c07ba83e
|
🐛 fix: function tools argument type issue
fixes: #1454
|
2025-05-27 13:54:16 +08:00 |
|
Soulter
|
c5bc709898
|
🎈 perf: 优化 openai_source 方法默认参数
|
2025-05-06 23:15:11 +08:00 |
|
Raven95676
|
ab227a08d0
|
fix: 修复openai source中e的作用域问题
|
2025-04-22 11:50:47 +08:00 |
|
Soulter
|
784dcf2a9a
|
Merge pull request #1228 from Raven95676/gemini
refactor: 使用Google官方SDK重构gemini_source
|
2025-04-15 20:04:20 +08:00 |
|
Soulter
|
bced9ffff9
|
🐛 fix: 修复zhipu工具调用问题
|
2025-04-12 15:24:37 +08:00 |
|
Soulter
|
7231403e16
|
🐛 fix: xai missing field parameters
|
2025-04-12 09:47:11 +08:00 |
|
Raven95676
|
e8ffebc006
|
fix: 修复消息处理流程中可能出现的空消息
|
2025-04-11 15:01:20 +08:00 |
|
Soulter
|
5f0b8161b7
|
perf: 优化 WebUI Chat 的流式传输性能
|
2025-04-09 15:22:35 +08:00 |
|
anka
|
8ed3d5f3db
|
fix: 将openai_source的结果消息链的构造方式和其他统一
|
2025-04-06 09:12:52 +00:00 |
|
anka
|
ba252c5356
|
fix: 修正一个偶然发现的命名错误()
|
2025-04-06 08:12:00 +00:00 |
|
Soulter
|
c1cf2be533
|
✨ feat: 完善流式处理
|
2025-04-06 11:56:06 +08:00 |
|
Soulter
|
109650faf3
|
✨ feat: 支持流式输出
|
2025-04-06 00:56:33 +08:00 |
|
Soulter
|
b757c91d93
|
🐛 fix: 修复无法识别到函数调用异常的问题
|
2025-04-04 01:02:39 +08:00 |
|
Soulter
|
2eb9e5dde3
|
perf: 添加重试等待
|
2025-03-30 22:51:34 +08:00 |
|
渡鸦95676
|
627d2a4701
|
新增重试间隔
|
2025-03-30 22:33:21 +08:00 |
|
Soulter
|
76895fe86d
|
chore: improve variable names
|
2025-03-30 22:12:34 +08:00 |
|
Soulter
|
7288348857
|
🎈 perf: OpenAI sources supports api key load balance(random)
|
2025-03-30 22:00:45 +08:00 |
|
Soulter
|
1aac8d8041
|
✨ feat: 适配完整的 function-calling 流程
|
2025-03-23 22:21:47 +08:00 |
|
Soulter
|
c59c8e05f7
|
🐛 fix: tools result
|
2025-03-23 17:03:18 +08:00 |
|
Soulter
|
046f5e645e
|
✨ feat: 完善 MCP 管理和实现 WebUI MCP 相关的页面
|
2025-03-23 16:33:44 +08:00 |
|
pre-commit-ci[bot]
|
3dea60366a
|
🎈 auto fixes by pre-commit hooks
|
2025-03-15 11:54:09 +00:00 |
|
Alero
|
d4d9a1df4c
|
feat:新增MCP服务支持并优化工具调用逻辑
引入MCP客户端支持,增加mcp_server.json配置样例,完善工具描述生成及调用逻辑以支持MCP服务工具功能。同时调整相关逻辑以区分本地工具与MCP工具的调用方式,提升扩展性和灵活性。
|
2025-03-15 19:47:06 +08:00 |
|
Soulter
|
49bba9bf98
|
style: format codes
|
2025-03-03 13:30:55 +08:00 |
|
Soulter
|
98e8ecb8e2
|
🐛 fix: add type check for completion response from API to ensure correct handling
|
2025-02-25 11:46:44 +08:00 |
|
Soulter
|
e3ffdbc308
|
✨ feat: openai_source 支持传入任何自定义参数以适配 Ollama 和 FastGPT 等
|
2025-02-25 00:51:09 +08:00 |
|
Soulter
|
2807e1e892
|
✨ feat: add template of FastGPT
|
2025-02-22 15:43:14 +08:00 |
|
Soulter
|
ad13cef89c
|
👌perf: sort models by id when listing models #384
|
2025-02-14 00:08:12 +08:00 |
|
Soulter
|
5806c74e7c
|
chore(core): display the unsupported message segments
|
2025-02-11 01:10:17 +08:00 |
|
Soulter
|
0a970e8c31
|
feat: 支持gewechat文件输出
|
2025-02-10 18:46:54 +08:00 |
|
Soulter
|
c564a1d53e
|
fix: raw_completion 没有正确传递 #439
|
2025-02-10 00:26:53 +08:00 |
|
Soulter
|
619fb20c5f
|
fix: drun 不支持函数调用的报错
|
2025-02-09 01:20:11 +08:00 |
|
Soulter
|
96237abc03
|
fix: 当群聊自动回复时,不会带上人格的Prompt #419
|
2025-02-08 10:17:43 +08:00 |
|
Soulter
|
6858b8c555
|
perf: 当图片数据为空时不加入上下文 #379
|
2025-02-07 23:57:25 +08:00 |
|
Soulter
|
0eb1684ef1
|
fix: 修复 openai_source 尝试弹出最早的记录失败的问题
|
2025-02-07 22:38:04 +08:00 |
|
Soulter
|
9b0b723143
|
fix: 联网搜索失败,函数调用无返回值 #342
|
2025-02-07 22:07:56 +08:00 |
|
Soulter
|
aebc7850f4
|
fix: openrouter 报错 no endpoints found that support tool use #371
|
2025-02-06 15:25:15 +08:00 |
|
Soulter
|
3800e96d14
|
fix: 修复metadata不生效的问题
feat: 支持查看插件行为
|
2025-02-06 15:10:24 +08:00 |
|
Soulter
|
7d4c07e4f6
|
feat: 支持设置 timeout
|
2025-02-06 12:31:39 +08:00 |
|
Soulter
|
31b788f463
|
fix: 修复不支持图片的模型请求异常
|
2025-02-06 01:50:53 +08:00 |
|