Commit Graph

89 Commits

Author SHA1 Message Date
DrSmoothl
2a33fd1121 refactor(llm): enable hot-reload for model config and client runtime
make LLM task config resolution dynamic in LLMRequest
load model clients on demand from latest config
clear client instance cache on config reload
remove stale module-level model_config usage in llm_api
add hot-reload tests for LLM/config watcher flow
2026-03-04 21:56:50 +08:00
DrSmoothl
5cccdf6715 feat(llm): 添加响应格式转换功能,支持JSON_SCHEMA输出 2026-03-04 21:11:10 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
UnCLAS-Prommer
77725ba9d8 逐步适配新的config 2026-01-15 23:51:19 +08:00
SengokuCola
72ef7bade2 Merge pull request #1420 from xcr1234/dev
fix: 工具调用的时候可能出现的无法解析参数问题
2025-12-29 19:07:32 +08:00
xiaoxi68
613f8e8783 fix: 规范 OpenAI/Gemini 客户端图片 MIME(jpg/jpeg→image/jpeg) 2025-12-13 01:20:33 +08:00
xiaoxi68
3b964307ce fix: 修复工具调用 JSON Schema 中 float 类型导致的 422 错误 2025-12-11 20:00:47 +08:00
Process Xie
53d0e91d02 fix: 工具调用的时候可能出现的无法解析参数问题 2025-12-09 20:18:37 +08:00
墨梓柒
44f427dc64 Ruff fix 2025-11-19 23:35:14 +08:00
SengokuCola
ebe224b0a1 fix:bool和boolean问题 2025-11-13 23:43:35 +08:00
SengokuCola
d306e40db0 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-13 19:00:59 +08:00
SengokuCola
f2819be5e9 feat:lpmm可选接入memory agent,将memory agent改为标准工具格式,修改llm_utils以兼容 2025-11-13 18:55:37 +08:00
墨梓柒
7839acd25d Ruff fix 2025-11-13 13:24:55 +08:00
SengokuCola
7b3793f366 better:优化log和添加changelog 2025-11-09 14:14:57 +08:00
SengokuCola
03e06c282c feat:可以对不同chat自定义一段额外prompt 2025-11-05 00:35:16 +08:00
xiaoxi68
50e0bc6513 fix(openai): 修复空回复 TypeError(choices=None),并在抛错前输出调试日志 2025-11-01 16:40:36 +08:00
SengokuCola
c6dadc2872 fix:截断Log优化 2025-10-30 11:30:48 +08:00
foxplaying
9662d818a7 恢复 2025-10-26 15:01:18 +08:00
foxplaying
d5696c12d4 增加Search功能 2025-10-19 00:50:32 +08:00
foxplaying
c0a7cc2102 Update gemini_client.py 2025-10-17 23:14:33 +08:00
foxplaying
3231f4f2f8 增加详细输出 2025-10-17 23:11:34 +08:00
foxplaying
d7c093f21c 新增截断检测 2025-10-03 02:31:23 +08:00
foxplaying
8cad5bb45d 增强检测 2025-09-28 13:37:06 +08:00
foxplaying
2009ee3b5e 合并修改 2025-09-28 07:58:16 +08:00
foxplaying
a5f60c5f06 Merge branch 'dev' into patch-2 2025-09-28 07:33:15 +08:00
墨梓柒
e9a5488b62 Ruff Fix 2025-09-28 00:02:18 +08:00
foxplaying
7597af64d8 删除多余写入 2025-09-26 23:26:11 +08:00
foxplaying
a0ba989710 移除thought输出 2025-09-26 23:20:18 +08:00
UnCLAS-Prommer
3a2685cf26 Merge pull request #1264 from foxplaying/patch-2
Gemini:优化处理
2025-09-26 10:21:37 +08:00
foxplaying
ed9c1a999f fix:修复流式检测方式 2025-09-26 01:42:53 +08:00
SengokuCola
11cc7ced13 fix:修复(也许)吞字问题 2025-09-25 20:20:04 +08:00
foxplaying
a54bf78945 支持流式 2025-09-24 23:19:53 +08:00
foxplaying
dcb75d7b94 优化方法 2025-09-24 23:06:37 +08:00
foxplaying
39f43d315d 更详细的报错和提示 2025-09-24 21:46:15 +08:00
foxplaying
8ba4fb60c6 更具体的报错 2025-09-24 21:23:58 +08:00
foxplaying
e97af77fc8 fix 2025-09-24 21:04:11 +08:00
foxplaying
b4f6b6e7b7 fix 2025-09-24 21:03:49 +08:00
foxplaying
ab8982c341 优化处理 2025-09-24 21:02:43 +08:00
UnCLAS-Prommer
294b451c96 修复typing 2025-09-23 20:51:01 +08:00
foxplaying
fbc84789cb 优化预算处理 2025-09-23 17:15:21 +08:00
foxplaying
3eeb1a84b3 时间单位转换 2025-09-22 12:43:34 +08:00
foxplaying
be5b1cd1f5 优化处理 2025-09-22 12:28:06 +08:00
foxplaying
45115b802f 优化方法 2025-09-22 11:59:12 +08:00
UnCLAS-Prommer
f075f28f02 Merge pull request #1248 from foxplaying/patch-2
Gemini:尝试传入自定义base_url(实验性)
2025-09-22 01:07:46 +08:00
foxplaying
978c627d7d 增强方法 2025-09-21 22:05:41 +08:00
foxplaying
ce8b80a721 Update gemini_client.py 2025-09-21 21:54:37 +08:00
foxplaying
036be7a99b Update gemini_client.py 2025-09-21 21:36:02 +08:00
foxplaying
be3b80f90e 修改方法 2025-09-21 21:08:07 +08:00
foxplaying
74183ff079 尝试传入自定义base_url(实验性) 2025-09-21 20:56:35 +08:00
UnCLAS-Prommer
bfe4943b18 更优雅的解决问题 2025-09-11 21:12:08 +08:00