DrSmoothl
0a08973c41
feat: Enhance emoji and image management with asynchronous background processing
...
- Added support for scheduling background tasks to build emoji and image descriptions when not found in cache.
- Improved error handling and logging for emoji and image processing.
- Updated `SessionMessage` processing to allow for optional heavy media analysis and voice transcription.
- Refactored logging messages for better clarity and consistency across various modules.
- Introduced a new function to build outbound log previews for messages, enhancing logging capabilities.
2026-03-26 23:03:47 +08:00
DrSmoothl
777d4cb0d2
feat: Enhance OpenAI compatibility and introduce unified LLM service data models
...
- Refactored model fetching logic to support various authentication methods for OpenAI-compatible APIs.
- Introduced new data models for LLM service requests and responses to standardize interactions across layers.
- Added an adapter base class for unified request execution across different providers.
- Implemented utility functions for building OpenAI-compatible client configurations and request overrides.
2026-03-26 16:15:42 +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
d7c093f21c
新增截断检测
2025-10-03 02:31:23 +08:00
墨梓柒
e9a5488b62
Ruff Fix
2025-09-28 00:02:18 +08:00
UnCLAS-Prommer
3a2685cf26
Merge pull request #1264 from foxplaying/patch-2
...
Gemini:优化处理
2025-09-26 10:21:37 +08:00
SengokuCola
11cc7ced13
fix:修复(也许)吞字问题
2025-09-25 20:20:04 +08:00
foxplaying
e97af77fc8
fix
2025-09-24 21:04:11 +08:00
UnCLAS-Prommer
bfe4943b18
更优雅的解决问题
2025-09-11 21:12:08 +08:00
SengokuCola
a4285673aa
feat:改为单planner,并解析多个动作
2025-09-11 14:25:02 +08:00
SengokuCola
8ed94d1f26
修复付费emb模型的问题
2025-09-11 00:25:33 +08:00
墨梓柒
163dbb6b90
超级Ruff
2025-09-09 19:25:12 +08:00
google-labs-jules[bot]
6483955919
fix(llm): Add retry mechanism for empty API responses
2025-08-25 19:41:13 +08:00
墨梓柒
a8ff08e2a7
优化异步处理,避免事件循环问题并增强错误日志记录
2025-08-19 16:59:51 +08:00
UnCLAS-Prommer
e28e7e08e8
more typing fix和防炸
2025-08-12 17:08:35 +08:00
晴空
c1d5c3d9e8
fix(stream): 跳过空 choices 的 SSE 帧并记录 usage,避免流式解析越界
2025-08-12 02:41:38 +08:00
SengokuCola
35c13986d1
Update openai_client.py
2025-08-09 00:10:57 +08:00
SengokuCola
721546fff9
fix:通过计时定位LLM异常延时,移除memory模型
2025-08-08 22:10:08 +08:00
UnCLAS-Prommer
1f53ecff10
加上tools的enum属性
2025-08-03 10:27:47 +08:00
UnCLAS-Prommer
9afa549aee
让Gemini的图像可用,修复部分typing
2025-08-03 00:49:19 +08:00
UnCLAS-Prommer
75689d760d
ruff
2025-08-01 14:33:24 +08:00
Windpicker-owo
fcaa78f9a5
删除了add_file_content
2025-08-01 12:49:09 +08:00
Windpicker-owo
49af7b0c65
修改了错误的注释
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-01 03:40:24 +08:00
Windpicker-owo
25cb8d41bb
修复了语音识别功能
2025-08-01 03:32:00 +08:00
UnCLAS-Prommer
42a33a406e
增加extra_params功能
2025-07-31 01:04:14 +08:00
UnCLAS-Prommer
82b5230df1
解决openai_client的lint问题
2025-07-31 00:49:59 +08:00
UnCLAS-Prommer
3c40ceda4c
大修LLMReq
2025-07-30 09:45:13 +08:00
墨梓柒
16931ef7b4
feat: 支持多个API Key,增强错误处理和负载均衡机制
2025-07-27 13:55:18 +08:00
墨梓柒
909e47bcee
初步重构llmrequest
2025-07-25 13:21:48 +08:00