Merge branch 'main' of https://github.com/ChatGPTNextWeb/NextChat into feature-dsmodels-20250228

This commit is contained in:
wangjianhua
2025-09-19 15:14:25 +08:00
42 changed files with 1728 additions and 94 deletions

View File

@@ -16,6 +16,7 @@ import { handle as xaiHandler } from "../../xai";
import { handle as chatglmHandler } from "../../glm";
import { handle as proxyHandler } from "../../proxy";
import { handle as huaweiHandler } from "../../huawei";
import { handle as ai302Handler } from "../../302ai";
async function handle(
req: NextRequest,
@@ -55,6 +56,8 @@ async function handle(
return openaiHandler(req, { params });
case ApiPath.Huawei:
return huaweiHandler(req, { params });
case ApiPath["302.AI"]:
return ai302Handler(req, { params });
default:
return proxyHandler(req, { params });
}