feat(api): add Fireworks AI provider preset (#1543)

Promotes Fireworks AI to a first-class discoverable preset over the existing Anthropic-compatible Bearer path. Closes #890.
This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-06-15 22:16:50 -04:00
1 parent 5320b4f418
commit a472c44015
3 files changed
+67 -1

No files matched your search

+14
View File
@@ -23,6 +23,7 @@ export const PROVIDER_PRESET_IDS = [
'qwen',
'ollama-cloud',
'novita',
'fireworks',
] as const;
export type ProviderPresetId = (typeof PROVIDER_PRESET_IDS)[number];
@@ -266,6 +267,19 @@ const RAW_PROVIDER_PRESET_DEFINITIONS: readonly ProviderPresetDefinition[] = [
badge: 'Anthropic-compatible',
icon: '/icons/novita.svg',
},
{
id: 'fireworks',
name: 'Fireworks AI',
description: 'Anthropic-compatible inference (Kimi, Qwen, Llama) via api.fireworks.ai',
baseUrl: 'https://api.fireworks.ai/inference',
defaultProfileName: 'fireworks',
defaultModel: 'accounts/fireworks/models/kimi-k2p5',
apiKeyPlaceholder: 'fw_...',
apiKeyHint: 'Get your API key at fireworks.ai/api-keys',
category: 'alternative',
requiresApiKey: true,
badge: 'Anthropic-compatible',
},
];
function clonePresetDefinition(preset: ProviderPresetDefinition): ProviderPresetDefinition {