mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-31 21:39:28 +00:00
91 lines
No EOL
2.1 KiB
TypeScript
91 lines
No EOL
2.1 KiB
TypeScript
import { Provider } from "@/types";
|
|
|
|
export const INIT_PROVODERS: Provider[] = [
|
|
{
|
|
id: 'gemini',
|
|
name: 'Gemini',
|
|
apiKey: '',
|
|
apiHost: 'https://generativelanguage.googleapis.com/v1beta/openai/',
|
|
description: "Google Gemini model configuration.",
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: "openai",
|
|
name: "OpenAI",
|
|
apiKey: "",
|
|
apiHost: "https://api.openai.com/v1",
|
|
description: "OpenAI model configuration.",
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: 'anthropic',
|
|
name: 'Anthropic',
|
|
apiKey: '',
|
|
apiHost: 'https://api.anthropic.com/v1/',
|
|
description: "Anthropic Claude API configuration",
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: 'tongyi-qianwen',
|
|
name: 'Qwen',
|
|
apiKey: '',
|
|
apiHost: 'https://dashscope.aliyuncs.com/compatible-mode/v1',
|
|
description: "Qwen model configuration.",
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: 'deepseek',
|
|
name: 'Deepseek',
|
|
apiKey: '',
|
|
apiHost: 'https://api.deepseek.com',
|
|
description: "DeepSeek model configuration.",
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: 'bedrock',
|
|
name: 'AWS Bedrock',
|
|
apiKey: '',
|
|
apiHost: '',
|
|
description: "AWS Bedrock model configuration.",
|
|
hostPlaceHolder: "e.g. https://bedrock-runtime.{{region}}.amazonaws.com",
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: 'azure',
|
|
name: 'Azure',
|
|
apiKey: '',
|
|
apiHost: '',
|
|
description: "Azure OpenAI model configuration.",
|
|
hostPlaceHolder: "e.g.https://{{your-resource-name}}.openai.azure.com",
|
|
externalConfig: [
|
|
{
|
|
key: "api_version",
|
|
name: "API Version",
|
|
value: ""
|
|
},
|
|
{
|
|
key: "azure_deployment_name",
|
|
name: "Deployment Name",
|
|
value: ""
|
|
}
|
|
],
|
|
is_valid: false,
|
|
model_type: ""
|
|
},
|
|
{
|
|
id: 'openai-compatible-model',
|
|
name: 'OpenAI Compatible',
|
|
apiKey: '',
|
|
apiHost: '',
|
|
description: "OpenAI-compatible API endpoint configuration.",
|
|
hostPlaceHolder: "e.g. https://api.x.ai/v1",
|
|
is_valid: false,
|
|
model_type: ""
|
|
}
|
|
] |