QChatGPT/pkg/provider/modelmgr
Huoyuuu 7a19dd503d
fix: ensure content is string in chatcmpl call method
fix: ensure content is string in chatcmpl call method

- Ensure user message content is a string instead of an array
- Updated `call` method in `chatcmpl.py` to guarantee content is a string
- Resolves compatibility issue with the yi-large model
2024-06-19 17:26:06 +08:00
..
apis fix: ensure content is string in chatcmpl call method 2024-06-19 17:26:06 +08:00
__init__.py feat: 不再预先计算前文token数而是在报错时提醒用户重置 2024-03-12 16:04:11 +08:00
api.py feat: 解藕chat的处理器和请求器 (#772) 2024-05-14 22:20:31 +08:00
entities.py feat: 模型vision支持性参数 2024-05-16 20:11:54 +08:00
errors.py perf: claude 的接口异常处理 2024-03-17 23:22:26 -04:00
modelmgr.py feat: 删除oss相关代码 2024-05-16 20:32:30 +08:00
token.py feat: 不再预先计算前文token数而是在报错时提醒用户重置 2024-03-12 16:04:11 +08:00