Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ English · [简体中文](./README_zh-CN.md) · [日本語](./README_ja-JP.md)
14. OpenRouter (👉 OpenAI)
15. 360 GPT
16. LocalAI / Ollama (👉 OpenAI)
17. BurnCloud (👉 OpenAI)

## 👻 OpenAI Compatible API Proxy
- [x] Chat Completions _(/v1/chat/completions)_
Expand Down
1 change: 1 addition & 0 deletions README_ja-JP.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ English · [简体中文](./README_zh-CN.md) · [日本語](./README_ja-JP.md)
14. OpenRouter (👉 OpenAI)
15. 360 GPT
16. LocalAI / Ollama (👉 OpenAI)
17. BurnCloud (👉 OpenAI)

## 👻 OpenAI互換APIプロキシ
- [x] Chat Completions _(/v1/chat/completions)_
Expand Down
1 change: 1 addition & 0 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
14. OpenRouter (👉 OpenAI)
15. 360 GPT
16. LocalAI / Ollama (👉 OpenAI)
17. BurnCloud (👉 OpenAI)

## 👻 中转 OpenAI 兼容 API
- [x] Chat Completions _(/v1/chat/completions)_
Expand Down
1 change: 1 addition & 0 deletions adapter/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ var channelFactories = map[string]adaptercommon.FactoryCreator{
globals.DeepseekChannelType: deepseek.NewChatInstanceFromConfig,
globals.DifyChannelType: dify.NewChatInstanceFromConfig,
globals.CozeChannelType: coze.NewChatInstanceFromConfig,
globals.BurnCloudChannelType: openai.NewChatInstanceFromConfig, // openai format

globals.MoonshotChannelType: openai.NewChatInstanceFromConfig, // openai format
globals.GroqChannelType: openai.NewChatInstanceFromConfig, // openai format
Expand Down
29 changes: 29 additions & 0 deletions app/src/admin/channel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const ChannelTypes: Record<string, string> = {
deepseek: "深度求索 DeepSeek",
coze: "扣子 Coze",
dify: "Dify",
burncloud: "BurnCloud",
};

export const ShortChannelTypes: Record<string, string> = {
Expand All @@ -93,6 +94,7 @@ export const ShortChannelTypes: Record<string, string> = {
deepseek: "DeepSeek",
coze: "Coze",
dify: "Dify",
burncloud: "BurnCloud",
};

export const ChannelInfos: Record<string, ChannelInfo> = {
Expand Down Expand Up @@ -314,6 +316,33 @@ export const ChannelInfos: Record<string, ChannelInfo> = {
"> 因此,您需要为每一个 Dify 平台的 CHATFLOW 分别创建渠道 \n" +
"> 如果需要让系统自动适配 Dify 平台的图标,请将模型名称填写为 **dify** 开头的模型,如 **dify-chat** \n",
},
burncloud: {
endpoint: "https://ai.burncloud.com",
format: "<api-key>",
models: [
"claude-3-7-sonnet-20250219-thinking",
"claude-3-7-sonnet-20250219",
"claude-3-5-sonnet-20241022",
"claude-3-5-haiku-20241022",
"gpt-4.5-preview",
"gpt-4o",
"gpt-4o-mini",
"o3",
"o3-mini",
"o1-mini",
"gemini-2.5-pro-preview-03-25",
"gemini-2.5-pro-exp-03-25",
"gemini-2.0-flash-lite",
"gemini-2.0-flash-exp",
"gemini-2.0-flash",
"deepseek-r1",
"deepseek-v3",
],
description:
"> BurnCloud 是一个聚合了多种 AI 模型的 API 服务平台 \n" +
"> 注册链接: https://ai.burncloud.com/register?aff=0ypC \n" +
"> API 密钥格式为 **api-key**,接入点填写 *https://ai.burncloud.com* \n",
},
};

export const defaultChannelModels: string[] = getUniqueList(
Expand Down
1 change: 1 addition & 0 deletions globals/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const (
DeepseekChannelType = "deepseek"
DifyChannelType = "dify"
CozeChannelType = "coze"
BurnCloudChannelType = "burncloud"
)

const (
Expand Down