Skip to content

feat: Enhance VolcEngine channel support with bot model#2131

Open
qistchan wants to merge 2 commits intosongquanpeng:mainfrom
qistchan:fix-2109
Open

feat: Enhance VolcEngine channel support with bot model#2131
qistchan wants to merge 2 commits intosongquanpeng:mainfrom
qistchan:fix-2109

Conversation

@qistchan
Copy link

@qistchan qistchan commented Feb 24, 2025

close #2109
close #1763


适配火山引擎(火山方舟)中应用的接入,目前网络上使用火山引擎的应用来使用DeepSeek的联网功能的教程比较多,建议完成该场景的适配。

  1. 调整OpenAI方式下,对响应格式的优化,火山引擎的应用返回的报文中,“data:”后不存在空格,统一对响应行进行预处理;
  2. 增加火山引擎的RequestURL的路由,在火山引擎的Chann中,针对ActualModelName以“bot”开头的模型,返回“/api/v3/bots/chat/completions”的路径;

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

@qistchan qistchan changed the title 适配火山引擎(火山方舟)的接入 适配火山引擎(火山方舟)应用的接入 Feb 24, 2025
@walimaker
Copy link

赞成!!!

@YoshuaBengio
Copy link

安装最新版本就可以使用了吧,大佬

@qistchan
Copy link
Author

安装最新版本就可以使用了吧,大佬

得等pr合并,而且我在用的时候火山引擎有时候联网搜索的时候,有时候带上了老长的检索内容,还得结合 #2128 ,不然有概率出错。

@YoshuaBengio
Copy link

哦,那这个大概得啥时候呢 ,有个大概的时间吗?

@qistchan
Copy link
Author

哦,那这个大概得啥时候呢 ,有个大概的时间吗?

不知道呢,得等作者😂

@YoshuaBengio
Copy link

好的,多谢大佬

@qistchan qistchan changed the title 适配火山引擎(火山方舟)应用的接入 feat: Enhance VolcEngine channel support with bot model Feb 24, 2025
@Laisky Laisky mentioned this pull request Feb 26, 2025
@Laisky
Copy link
Contributor

Laisky commented Feb 26, 2025

@YoshuaBengio 可以试试 https://github.com/Laisky/one-api ,完全兼容上游,会合并得更激进一些😁

@sunqb
Copy link

sunqb commented Mar 20, 2025

有用,我自己fork了一个自己本地修改了。等pr太慢了

iceyarmu pushed a commit to iceyarmu/one-api that referenced this pull request Nov 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

能否对火山方舟的应用提供支持? oneapi 对接火山引擎智能体的问题

5 participants