mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
- 71 registry files: flat `media.*Config.models` → `models[]` with `kind` field - `media` wrapper removed → serviceKinds, *Config fields promoted top-level - `type` field renamed to `kind` (llm/image/tts/stt/embedding/embedding/video/music) - providers/index.js: PROVIDER_MEDIA now built from flat top-level media fields - shared/constants/providers.js: buildProviderEntry reads flat top-level media fields - route /v1/models: modelKind() uses kind||type; removed subConfig merge block - models/info route: removed sub-config fallback lookup (all models in PROVIDER_MODELS) - ttsProviders/index.js: synthesizeViaConfig reads tts models from PROVIDER_MODELS - test-models route, helpers.js, validate route: kind||type compat - Baselines: PROVIDERS 62/62 ✅, Alias 90/90 ✅ Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
938 B
JavaScript
28 lines
938 B
JavaScript
export default {
|
|
id: "fireworks",
|
|
alias: "fireworks",
|
|
display: {
|
|
name: "Fireworks AI",
|
|
icon: "local_fire_department",
|
|
color: "#7B2EF2",
|
|
textIcon: "FW",
|
|
website: "https://fireworks.ai",
|
|
notice: {
|
|
apiKeyUrl: "https://fireworks.ai/account/api-keys",
|
|
},
|
|
},
|
|
category: "apikey",
|
|
authType: "apikey",
|
|
transport: {
|
|
baseUrl: "https://api.fireworks.ai/inference/v1/chat/completions",
|
|
validateUrl: "https://api.fireworks.ai/inference/v1/models",
|
|
},
|
|
models: [
|
|
{ id: "accounts/fireworks/models/deepseek-v3p1", name: "DeepSeek V3.1" },
|
|
{ id: "accounts/fireworks/models/llama-v3p3-70b-instruct", name: "Llama 3.3 70B" },
|
|
{ id: "accounts/fireworks/models/qwen3-235b-a22b", name: "Qwen3 235B" },
|
|
{ id: "nomic-ai/nomic-embed-text-v1.5", name: "Nomic Embed Text v1.5", kind: "embedding" },
|
|
],
|
|
embeddingConfig: { baseUrl: "https://api.fireworks.ai/inference/v1/embeddings" },
|
|
};
|