Support SiliconFlow Api

This commit is contained in:
Sky_miner
2025-02-04 12:48:28 +08:00
parent 1e20b64048
commit 7c81c549a5
13 changed files with 551 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ import { handle as iflytekHandler } from "../../iflytek";
import { handle as deepseekHandler } from "../../deepseek";
import { handle as xaiHandler } from "../../xai";
import { handle as chatglmHandler } from "../../glm";
import { handle as siliconflowHandler } from "../../siliconflow";
import { handle as proxyHandler } from "../../proxy";
async function handle(
@@ -43,6 +44,8 @@ async function handle(
return iflytekHandler(req, { params });
case ApiPath.DeepSeek:
return deepseekHandler(req, { params });
case ApiPath.SiliconFlow:
return siliconflowHandler(req, { params });
case ApiPath.XAI:
return xaiHandler(req, { params });
case ApiPath.ChatGLM: