晴猫
|
8be087dcad
|
重构数据库访问,替换为统一的数据库实例引用
|
2025-03-12 22:27:59 +09:00 |
|
HYY
|
94c63e456b
|
Merge branch 'SengokuCola:debug' into debug
|
2025-03-12 11:40:54 +08:00 |
|
HYY
|
26ed7f54d3
|
遵循s指导
|
2025-03-12 10:59:34 +08:00 |
|
HYY1116
|
1840599156
|
fix: 尝试修复所有图片都被保存为jpg的问题,并以正确的格式请求识图api
|
2025-03-12 09:53:01 +08:00 |
|
Pliosauroidea
|
126c9af70e
|
修复火山部分流式输出没有finish_reason导致的报错
|
2025-03-12 07:58:27 +08:00 |
|
Rikki
|
39018440d7
|
refactor: 修复database单例多次初始化的问题,改变instance默认返回实例的类型,缩短db相关函数调用时的object名
|
2025-03-12 00:52:07 +08:00 |
|
tcmofashi
|
1e6f0062d2
|
Merge pull request #211 from pineoncellar/debug
fix: 流式输出模式增加结束判断与token用量记录(#199)
|
2025-03-11 19:43:23 +08:00 |
|
HYY1116
|
7d017be9f7
|
fix:模型降级
|
2025-03-11 19:23:48 +08:00 |
|
pine
|
c24bb70291
|
fix: 流式输出模式增加结束判断与token用量记录
|
2025-03-11 18:51:28 +08:00 |
|
HYY1116
|
dea14c1d8a
|
fix: 模型降级目前只对硅基流动的V3和R1生效
|
2025-03-11 18:21:46 +08:00 |
|
Rikki
|
0cf4ff0a4d
|
Merge remote-tracking branch 'upstream/debug' into tc_refractor
|
2025-03-11 06:01:54 +08:00 |
|
tcmofashi
|
8cbf9bb048
|
feat: 史上最好的消息流重构和图片管理
|
2025-03-11 04:42:24 +08:00 |
|
SengokuCola
|
7b35ddd07f
|
ruff 哥又有新点子
|
2025-03-11 01:19:56 +08:00 |
|
AL76
|
a43f9495ea
|
fix: remove duplicate message(CR comments)
|
2025-03-10 11:46:59 +08:00 |
|
AL76
|
052e67b576
|
refactor: 日志打印优化(终于改完了,爽了
|
2025-03-10 02:25:03 +08:00 |
|
HYY
|
089d6a6c79
|
feat: 针对硅基流动的Pro模型添加了自动降级功能
|
2025-03-09 23:00:09 +08:00 |
|
Rikki
|
65e519dd5a
|
Merge remote-tracking branch 'upstream/debug' into debug
|
2025-03-09 05:28:11 +08:00 |
|
Rikki
|
25f705255c
|
fix: 修复兼容性选项和目前第一个版本之间的版本间隙 0.0.0 版,并将所有的直接退出修改为抛出异常
|
2025-03-09 04:14:16 +08:00 |
|
HYY
|
e8cee03c23
|
feat: 尝试增加未充钱时自动退化至非Pro模型的功能
|
2025-03-08 20:32:09 +08:00 |
|
SengokuCola
|
7c73e2f319
|
fix 思考者修复,回复意愿提供自定义
参考新的template文件
|
2025-03-08 16:46:28 +08:00 |
|
SengokuCola
|
140bc1ab91
|
ruff说他有好点子
|
2025-03-08 16:10:55 +08:00 |
|
sky2002
|
306d30670c
|
修改temperature拼写错误
|
2025-03-07 19:41:35 +00:00 |
|
Rikki
|
769fb42598
|
fix: 修复流式支持导致的故障
|
2025-03-08 03:17:20 +08:00 |
|
sky2002
|
9417eb411f
|
修改了错误的传参
|
2025-03-07 17:35:31 +00:00 |
|
sky2002
|
d81b3fb43d
|
支持流式输出模型功能debug
|
2025-03-07 17:25:17 +00:00 |
|
sky2002
|
7f35e70483
|
对openai的CoT模型进行特别修改
|
2025-03-07 14:39:16 +00:00 |
|
sky2002
|
8497441507
|
使支持流式输出
|
2025-03-07 14:17:03 +00:00 |
|
SengokuCola
|
f249f50994
|
v0.5.10 在根目录生成统计信息
|
2025-03-07 20:41:12 +08:00 |
|
SengokuCola
|
34907fdbf5
|
修改了模型命名
|
2025-03-07 18:41:41 +08:00 |
|
tcmofashi
|
965b1d1398
|
fix: 修复推理过程没有被获取的问题
|
2025-03-07 07:23:17 +08:00 |
|
Rikki
|
5cfcb60b46
|
Merge remote-tracking branch 'upstream/debug' into debug
|
2025-03-07 06:42:24 +08:00 |
|
Rikki
|
b69c9ac7f7
|
fix: 修复不应用 embedding 模型配置的现象
|
2025-03-07 05:50:59 +08:00 |
|
KawaiiYusora
|
a463f3a1a4
|
fix: issue (bug_risk): Reusing ClientSession across retries may lead to closed session issues.
|
2025-03-07 01:37:17 +08:00 |
|
KawaiiYusora
|
e0e3ee4177
|
fix: update CQCode and Message classes for async initialization and processing
|
2025-03-07 01:31:03 +08:00 |
|
KawaiiYusora
|
11807fda38
|
refactor(models):统一请求处理并优化响应处理 (refactor/unified_request)
对 `utils_model.py` 中的请求处理逻辑进行重构,创建统一的请求执行方法 `_execute_request`。该方法集中处理请求构建、重试逻辑和响应处理,替代了 `generate_response`、`generate_response_for_image` 和 `generate_response_async` 中的冗余代码。
关键变更:
- 引入 `_execute_request` 作为 API 请求的单一入口
- 新增支持自定义重试策略和响应处理器
- 通过 `_build_payload` 简化图像和文本载荷构建
- 改进错误处理和日志记录
- 移除已弃用的同步方法
- 加入了`max_response_length`以兼容koboldcpp硬编码的默认值500
此次重构在保持现有功能的同时提高了代码可维护性,减少了重复代码
|
2025-03-06 23:50:14 +08:00 |
|
tcmofashi
|
90e72db87b
|
fix: 调整api接口的打印
|
2025-03-06 21:11:22 +08:00 |
|
tcmofashi
|
b1756f3808
|
Merge remote-tracking branch 'upstream/debug' into debug
|
2025-03-06 15:03:40 +08:00 |
|
tcmofashi
|
2f1579e5b7
|
fix: 为所有模型请求添加请求头和请求体的报错
|
2025-03-06 14:43:46 +08:00 |
|
SengokuCola
|
eaa711ada7
|
v0.5.7
记忆系统接入关键词,重新启动自主发言功能
|
2025-03-06 14:27:22 +08:00 |
|
SengokuCola
|
8bca235ecf
|
Merge pull request #64 from tcmofashi/debug
Fix: 降低延迟,完善打印信息
|
2025-03-06 09:44:09 +08:00 |
|
tcmofashi
|
7c3fb28f10
|
fix: 修复打印格式
|
2025-03-06 08:18:33 +08:00 |
|
tcmofashi
|
dbfe9c0491
|
fix: 为log输出增加modelname
|
2025-03-06 02:23:58 +08:00 |
|
KawaiiYusora
|
bd982ba556
|
Merge branch 'debug' of https://github.com/SengokuCola/MaiMBot into debug
# Conflicts:
# src/plugins/models/utils_model.py
|
2025-03-06 01:11:37 +08:00 |
|
KawaiiYusora
|
a445c22250
|
<think>之我的LLM为什么只有一半TAG
|
2025-03-06 01:08:26 +08:00 |
|
tcmofashi
|
91d8ca80cf
|
Merge remote-tracking branch 'upstream/debug' into debug
|
2025-03-06 00:09:33 +08:00 |
|
SengokuCola
|
a70f76c819
|
v0.5.4.0 记忆系统更新
移除jieba
|
2025-03-05 23:58:03 +08:00 |
|
tcmofashi
|
19e467febe
|
fix: 被禁言导致发送线程死掉,修复所有的压缩,修复空日程的key error
|
2025-03-05 23:13:47 +08:00 |
|
tcmofashi
|
71a0176182
|
fix: 小修
|
2025-03-05 22:08:23 +08:00 |
|
tcmofashi
|
f29a7b646c
|
修改压缩
|
2025-03-05 19:19:34 +08:00 |
|
KawaiiYusora
|
8e48e72019
|
<think>之查缺补漏 (#53)
|
2025-03-05 09:27:52 +08:00 |
|