Commit Graph

131 Commits (d8cf93d6a2e13874b0a182e65a2e0cb919fc8a3e)

Author SHA1 Message Date
SengokuCola 34907fdbf5 修改了模型命名 2025-03-07 18:41:41 +08:00
SengokuCola 4a27446430 修复没移除干净
1
2025-03-07 13:30:50 +08:00
SengokuCola c11dd85790 移除所有雪Nlp 2025-03-07 10:25:58 +08:00
tcmofashi 0ced4939ec fix: 修改embedding 2025-03-07 03:40:14 +08:00
KawaiiYusora 1becc5d2d9 Merge branch 'debug' of https://github.com/SengokuCola/MaiMBot into refactor/unified_request
# Conflicts:
#	src/plugins/chat/utils.py
2025-03-07 01:32:15 +08:00
SengokuCola 71e851fbd4 fix
1
2025-03-07 00:34:58 +08:00
SengokuCola 8ef00ee571 v0.5.9
修复了记忆刷屏 加入了又新又好错别字生成器 增加了记忆过滤
2025-03-07 00:09:36 +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
SengokuCola eaa711ada7 v0.5.7
记忆系统接入关键词,重新启动自主发言功能
2025-03-06 14:27:22 +08:00
SengokuCola a70f76c819 v0.5.4.0 记忆系统更新
移除jieba
2025-03-05 23:58:03 +08:00
SengokuCola 3fec29d045 v0.5.2 记忆系统更新 2025-03-05 16:48:53 +08:00
NepPure f4c383caf3
Replace print with Loguru logger for improved logging (#47)
* utils_model

* llm_module_memory_make.py

* from e
2025-03-04 15:27:37 +08:00
SengokuCola dd4fb315df v0.4.1
修复了数据库命名问题
修复了嵌入模型未定义问题
2025-03-03 23:50:45 +08:00
SengokuCola f821f86152
Merge branch 'debug' into feature 2025-03-03 22:43:44 +08:00
SengokuCola ecc7c33932 更新文档
1
2025-03-03 22:27:11 +08:00
tcmofashi 2e9030b65f 创建新分支feature 2025-03-03 10:15:21 +08:00
tcmofashi decd577649 Merge remote-tracking branch 'upstream/debug' 2025-03-03 09:02:25 +08:00
tcmofashi a001994c24 Merge remote-tracking branch 'upstream/debug' 2025-03-03 08:42:51 +08:00
SengokuCola 6462c3b360 v0.4.0 支持任意替换的模型,改进配置文件
好好好好好好好好好
2025-03-02 23:51:47 +08:00
HYY1116 f48f33a999 fix: 模型优先使用无需付费模型,并模型名称全局化 2025-03-02 19:48:25 +08:00
SengokuCola b98314da4f v0.3.3 异步处理记忆,修复了GUI 2025-03-02 18:36:36 +08:00
tcmofashi c0cb28e10d 针对memory修改 2025-03-02 16:06:11 +08:00
SengokuCola 1cd7f80937 v0.3.2 更改了.env config的逻辑和memory优化
v0.3.2
更改了.env config的逻辑
memory优化
读空气优化
2025-03-02 15:00:12 +08:00
NepPure 0528586ad2 修改遗漏 2025-03-02 11:25:48 +08:00
NepPure 86b76496f6 统一database config,修复.env 2025-03-02 10:54:31 +08:00
tcmofashi 97834e7a93 feat: 添加回复情绪对好感度的影响,修改用户显示名字为群昵称 2025-03-02 08:24:00 +08:00
SengokuCola 50c1765b81 v0.3.1 实装了记忆系统和自动发言
哈哈哈
2025-03-02 00:14:25 +08:00
SengokuCola fd615f3327 Update memory copy.py 2025-03-01 17:34:29 +08:00
SengokuCola 11f90d82f7 v0.3.0 记忆和知识库
beta
2025-03-01 17:01:39 +08:00
SengokuCola db48a1830a little change
1
2025-02-28 13:32:32 +08:00
SengokuCola 4fb0fec17c update_readme
1
2025-02-28 13:11:49 +08:00