MartialBE / one-hub

OpenAI 接口管理 & 分发系统,改自songquanpeng/one-api。支持更多模型,加入统计页面,完善非openai模型的函数调用。
https://one-api-martialbe.vercel.app/
Apache License 2.0
1.01k stars 201 forks source link

支持转换deepseek的代码补全接口 #274

Open Passerby1011 opened 3 months ago

Passerby1011 commented 3 months ago

例行检查

功能描述 deepseek应该是有补全接口的,能不能适配到类似gpt-3.5-turbo-instruct模型所使用的补全接口。 应用场景 配合项目 https://github.com/linux-do/override vscode可以使用deepseek进行代码补全

MartialBE commented 2 months ago

deepseek文档中只支持chat/completions,不支持completions。因为他和OpenAI格式一样,所以并没有做任何转换。暂时也没有计算帮他做转换。

Passerby1011 commented 1 month ago

image

ShanySky commented 1 month ago

现在支持了,期待能增加这个功能。