feat: add support for bytedance's doubao #1438
Merged
songquanpeng merged 4 commits intosongquanpeng:mainfrom Jun 8, 2024
Merged
feat: add support for bytedance's doubao #1438songquanpeng merged 4 commits intosongquanpeng:mainfrom
songquanpeng merged 4 commits intosongquanpeng:mainfrom
Conversation
|
调用和 Azure 类似,是需要部署才能用对吗? 是的话,这段配置好像就没意义了,curl 命令里也没用到模型 var ModelList = []string{
"Doubao-pro-128k",
"Doubao-pro-32k",
"Doubao-pro-4k",
"Doubao-lite-128k",
"Doubao-lite-32k",
"Doubao-lite-4k",
"Doubao-embedding",
}另外, 你代码好像只改了 if meta.Mode == relaymode.ChatCompletions {
return fmt.Sprintf("%s/api/v3/chat/completions", meta.BaseURL), nil
} |
Contributor
|
我建议给oneapi增加一个 /chat/complections 的路由,而不只有 /v1/chat/completions 的路由。 |
|
mark一下 合并了我也更新下 |
Owner
|
上周末完全没时间,我尽量最近处理 |
|
请问这个docker发布了吗? |
Owner
|
已合并,感谢各位 |
Owner
|
v0.6.7-alpha.4 |
|
@songquanpeng 似乎不行呢? 我是用postman正常发送,使用oneapi就不行,不管是使用代理的方式 还是直接的方式都不行 |
|
一直提示 |
|
model ratio not found 这个应该怎么配置? |
|
调用豆包必须企业认证吗 |
Contributor
|
豆包 的 embedding接口支持吗? |
同问 |
Contributor
我测着是不行呀 |
susugo
pushed a commit
to susugo/one-api
that referenced
this pull request
Jul 17, 2024
* 增加豆包大模型支持 * chore: update channel options & add prompt --------- Co-authored-by: 康龙彪 <longbiao.kang@i-tudou.com> Co-authored-by: JustSong <songquanpeng@foxmail.com>
mxdlzg
pushed a commit
to mxdlzg/one-api
that referenced
this pull request
Oct 15, 2024
* 增加豆包大模型支持 * chore: update channel options & add prompt --------- Co-authored-by: 康龙彪 <longbiao.kang@i-tudou.com> Co-authored-by: JustSong <songquanpeng@foxmail.com>
SheldonLiu0412
pushed a commit
to SheldonLiu0412/one-api
that referenced
this pull request
Jan 23, 2025
* 增加豆包大模型支持 * chore: update channel options & add prompt --------- Co-authored-by: 康龙彪 <longbiao.kang@i-tudou.com> Co-authored-by: JustSong <songquanpeng@foxmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






close #1436
我已确认该 PR 已自测通过,相关截图如下:
