feat: support modelark model platform to call seed 1.8

This commit is contained in:
Wendong-Fan 2026-01-20 01:58:55 +08:00
parent c7a9cdbc2c
commit 6e0616e185
2 changed files with 10 additions and 0 deletions

View file

@ -36,6 +36,7 @@ McpServers = dict[Literal["mcpServers"], dict[str, dict]]
PLATFORM_MAPPING = {
"Z.ai": "openai-compatible-model",
"ModelArk": "openai-compatible-model",
}
class Chat(BaseModel):

View file

@ -73,6 +73,15 @@ export const INIT_PROVODERS: Provider[] = [
is_valid: false,
model_type: ""
},
{
id: 'ModelArk',
name: 'ModelArk',
apiKey: '',
apiHost: 'https://ark.ap-southeast.bytepluses.com/api/v3',
description: "ModelArk model configuration.",
is_valid: false,
model_type: ""
},
{
id: 'aws-bedrock',
name: 'AWS Bedrock',