cap nhat giao dien

This commit is contained in:
quangdn-ght
2025-06-25 23:25:07 +07:00
parent b07760fbc9
commit ee25e4ac82
10 changed files with 20370 additions and 1165 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 supabaseHandler } from "../../supabase";
async function handle(
req: NextRequest,
@@ -27,6 +28,9 @@ async function handle(
console.log(`[${params.provider} Route] params `, params);
switch (apiPath) {
case ApiPath.Supabase:
console.log("[Supabase Route] params ", params);
return supabaseHandler(req, { params });
case ApiPath.Azure:
return azureHandler(req, { params });
case ApiPath.Google: