新增字节跳动ds模型兼容,新增华为ds模型兼容

This commit is contained in:
wangjianhua
2025-02-28 13:54:14 +08:00
parent 2167076652
commit cf9d088789
30 changed files with 896 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ import { handle as siliconflowHandler } from "../../siliconflow";
import { handle as xaiHandler } from "../../xai";
import { handle as chatglmHandler } from "../../glm";
import { handle as proxyHandler } from "../../proxy";
import { handle as huaweiHandler } from "../../huawei";
async function handle(
req: NextRequest,
@@ -52,6 +53,8 @@ async function handle(
return siliconflowHandler(req, { params });
case ApiPath.OpenAI:
return openaiHandler(req, { params });
case ApiPath.Huawei:
return huaweiHandler(req, { params });
default:
return proxyHandler(req, { params });
}