mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
- Added BytePlus Provider
This commit is contained in:
@@ -344,6 +344,16 @@ export const PROVIDER_MODELS = {
|
||||
{ id: "GLM-4.7", name: "GLM-4.7" },
|
||||
{ id: "DeepSeek-V3.2", name: "DeepSeek-V3.2" },
|
||||
],
|
||||
byteplus: [
|
||||
{ id: "doubao-seed-2.0-pro", name: "Doubao Seed 2.0 Pro" },
|
||||
{ id: "doubao-seed-2.0-code", name: "Doubao Seed 2.0 Code" },
|
||||
{ id: "doubao-seed-2.0-lite", name: "Doubao Seed 2.0 Lite" },
|
||||
{ id: "doubao-seed-code", name: "Doubao Seed Code" },
|
||||
{ id: "glm-5.1", name: "GLM-5.1" },
|
||||
{ id: "glm-4.7", name: "GLM-4.7" },
|
||||
{ id: "kimi-k2.5", name: "Kimi-K2.5" },
|
||||
{ id: "gpt-oss-120b", name: "GPT-OSS-120B" },
|
||||
],
|
||||
deepseek: [
|
||||
{ id: "deepseek-v4-flash", name: "DeepSeek V4 Flash" },
|
||||
{ id: "deepseek-chat", name: "DeepSeek V3.2 Chat" },
|
||||
|
||||
@@ -161,6 +161,11 @@ export const PROVIDERS = {
|
||||
format: "openai",
|
||||
headers: {}
|
||||
},
|
||||
byteplus: {
|
||||
baseUrl: "https://ark.ap-southeast.bytepluses.com/api/coding/v3/chat/completions",
|
||||
format: "openai",
|
||||
headers: {}
|
||||
},
|
||||
github: {
|
||||
baseUrl: "https://api.githubcopilot.com/chat/completions",
|
||||
responsesUrl: "https://api.githubcopilot.com/responses",
|
||||
|
||||
@@ -51,6 +51,8 @@ const ALIAS_TO_PROVIDER_ID = {
|
||||
chutes: "chutes",
|
||||
ark: "volcengine-ark",
|
||||
"volcengine-ark": "volcengine-ark",
|
||||
byteplus: "byteplus",
|
||||
bpm: "byteplus",
|
||||
cursor: "cursor",
|
||||
vx: "vertex",
|
||||
vertex: "vertex",
|
||||
|
||||
Reference in New Issue
Block a user