Junyan Qin
21cfb6ee6f
fix: some field may not exist in chatcmplchunk
2025-02-07 23:57:51 +08:00
Junyan Qin
eceaf85807
feat: use stream req in the chatcmpl ( #992 )
2025-02-06 14:48:43 +08:00
Junyan Qin
41a7814615
feat: siliconflow provider
2025-02-01 14:19:21 +08:00
Junyan Qin
d0eeb2b304
feat: add supports for LM Studio
2025-02-01 12:01:07 +08:00
Junyan Qin
d588faf470
fix(httpx): deprecated proxies param
2025-01-23 13:32:27 +08:00
Junyan Qin
7f034b4ffa
fix(dify): display agent image
2025-01-06 21:28:36 +08:00
Junyan Qin
44b92909eb
feat: add supports for zhipuai(chatglm)
2025-01-06 20:27:10 +08:00
Junyan Qin
0a68a77e28
feat: refactor
2025-01-04 22:24:05 +08:00
kevin
11a0c4142e
增加xAI模型支持
...
推荐llm-models.json新增
```json
,
{
"name": "grok-2-vision-1212",
"model_name": "grok-2-vision-1212",
"requester": "grok-chat-completions",
"token_mgr": "grok",
"vision_supported": true
}
```
provider.json requester增加
```json
,
"grok-chat-completions": {
"args": {},
"base-url": "https://api.x.ai/v1 ",
"timeout": 120
}
```
keys增加:
```json
,
"grok": [
"xai-your-key"
]
```
2025-01-04 22:13:47 +08:00
Junyan Qin
e37070a985
fix(requester): unmatched params ( #967 )
2024-12-26 15:14:06 +08:00
Junyan Qin
07ca48d652
fix: 无法传递qq图片的问题
2024-12-24 11:26:33 +08:00
Junyan Qin
12cfce3622
feat: 重构图片消息传递逻辑 ( #957 , #955 )
2024-12-24 10:57:17 +08:00
Junyan Qin
535c4a8a11
fix: anthropic sdk删除proxies导致无法启动 ( #962 , #960 )
2024-12-23 21:35:16 +08:00
Junyan Qin
793d64303e
perf: 完善dify api runner
2024-12-17 01:04:08 +08:00
Junyan Qin
6642498f00
feat: 添加对 agent 应用的支持 ( #951 )
2024-12-17 00:41:28 +08:00
Junyan Qin
32b400dcb1
fix: dify的timeout无法自定义 ( #949 )
2024-12-16 23:54:56 +08:00
Junyan Qin
736f8b613c
feat: 为 ollama 支持视觉和函数调用 ( #950 )
2024-12-15 17:05:56 +08:00
Junyan Qin
908169a55e
chore: 删除 difyapi
2024-12-14 17:52:18 +08:00
Junyan Qin
dbf9f2398e
feat: 添加对 chat 和 workflow 的支持
2024-12-14 17:51:11 +08:00
bright141
2ea3ff0b5c
Update runnermgr.py
2024-12-04 15:50:45 +08:00
bright141
9027db8587
新增difyapi 的Chat 请求运行器
2024-12-01 17:45:49 +08:00
Junyan Qin
a3ca7e82c7
hotfix: 调用工具时bug
2024-11-23 00:23:08 +08:00
Junyan Qin
e8cc048901
deps: bump pydantic to v2
2024-11-22 23:29:12 +08:00
Junyan Qin
875adfcbaa
feat: 添加对 Gitee AI 的支持
2024-11-21 23:28:19 +08:00
Junyan Qin
658eb278c4
refactor: 重构部分插件管理逻辑
2024-11-16 16:13:02 +08:00
Junyan Qin
ea6a0af5a7
Merge pull request #890 from RockChinQ/feat/more-platforms
...
Refactor: 移除 YiriMirai 组件
2024-09-26 14:41:03 +08:00
RockChinQ
3469515e04
feat: 删除代码中对 mirai 的引用
2024-09-26 13:01:45 +08:00
RockChinQ
1c4a700d92
refactor: 将 yirimirai 的组件集成进 platform 包
2024-09-26 00:23:03 +08:00
YunZL
81c2c3c0e5
Add Role Check to Prevent Validation Error
2024-09-23 23:25:54 +08:00
ligen131
b51ca06c7c
fix: 发送正确的图片格式而不是默认的 image/jpeg
2024-08-19 00:00:29 +08:00
RockChinQ
8cad4089a7
feat: runner 层抽象 ( #839 )
2024-07-28 18:45:27 +08:00
Junyan Qin
7656443b28
Merge pull request #845 from ElvisChenML/pr
...
fixed pkg\provider\entities.py\get_content_mirai_message_chain中ce.type图片类型不正确的异常
2024-07-10 00:13:48 +08:00
RockChinQ
bdb8baeddd
perf(ollama): 修改请求器名称以适配请求路径
2024-07-09 23:37:19 +08:00
ElvisChenML
21966bfb69
fixed pkg\provider\entities.py\get_content_mirai_message_chain中ce.type图片类型不正确的异常
2024-07-09 17:04:11 +08:00
canyuan
987b3dc4ef
add ollama chat
2024-07-09 14:57:28 +08:00
RockChinQ
39ce5646f6
perf: content元素拼接时使用换行符间隔
2024-06-24 17:04:50 +08:00
Huoyuuu
5092a82739
Update chatcmpl.py
2024-06-19 19:13:00 +08:00
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
RockChinQ
7db56c8e77
feat: claude 支持视觉
2024-05-22 20:09:29 +08:00
RockChinQ
18ae2299a7
fix: 修复 query.resp_messages 对插件reply的兼容性
2024-05-18 20:08:48 +08:00
RockChinQ
aadfa14d59
fix: claude 请求失败
2024-05-17 09:46:06 +08:00
RockChinQ
91e23b8c11
perf: 为图片base64函数添加lru
2024-05-16 20:52:17 +08:00
RockChinQ
37ef1c9fab
feat: 删除oss相关代码
2024-05-16 20:32:30 +08:00
RockChinQ
6bc6f77af1
feat: 通过 base64 传输图片
2024-05-16 20:25:51 +08:00
RockChinQ
2c478ccc25
feat: 模型vision支持性参数
2024-05-16 20:11:54 +08:00
RockChinQ
d5b5d667a5
feat: 模型视觉多模态支持
2024-05-15 21:40:18 +08:00
RockChinQ
527ad81d38
feat: 解藕chat的处理器和请求器 ( #772 )
2024-05-14 22:20:31 +08:00
RockChinQ
9c6491e5ee
feat: 支持 deepseek 的模型
2024-05-07 14:28:52 +00:00
RockChinQ
b5e67f3df8
fix: 内容函数调用时错误地传递了RuntimeContainer
2024-04-04 15:08:40 +08:00
RockChinQ
8b003739f1
feat: message.content 支持 mirai.MessageChain 对象 ( #741 )
2024-03-31 14:38:15 +08:00