add stepfun models

This commit is contained in:
chenlinfeng
2024-08-16 16:31:42 +08:00
parent 122aa94c9f
commit e29ea54f2c
11 changed files with 521 additions and 3 deletions

View File

@@ -7,6 +7,7 @@ import { handle as anthropicHandler } from "../../anthropic";
import { handle as baiduHandler } from "../../baidu";
import { handle as bytedanceHandler } from "../../bytedance";
import { handle as alibabaHandler } from "../../alibaba";
import { handle as stepfunHandler } from "../../stepfun";
import { handle as moonshotHandler } from "../../moonshot";
import { handle as stabilityHandler } from "../../stability";
import { handle as iflytekHandler } from "../../iflytek";
@@ -30,6 +31,8 @@ async function handle(
case ApiPath.Alibaba:
return alibabaHandler(req, { params });
// case ApiPath.Tencent: using "/api/tencent"
case ApiPath.Stepfun:
return stepfunHandler(req, { params });
case ApiPath.Moonshot:
return moonshotHandler(req, { params });
case ApiPath.Stability: