Skip to content

Commit 2aae513

Browse files
committed
Actually enable fireworks
1 parent be3ed74 commit 2aae513

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

web/src/app/api/v1/chat/completions/_post.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ export async function postChatCompletions(params: {
367367
try {
368368
if (bodyStream) {
369369
// Streaming request — route to SiliconFlow/CanopyWave/Fireworks for supported models
370-
// SiliconFlow, CanopyWave, and Fireworks TEMPORARILY DISABLED: route through OpenRouter
371370
const useSiliconFlow = false // isSiliconFlowModel(typedBody.model)
372371
const useCanopyWave = false // isCanopyWaveModel(typedBody.model)
373372
const useFireworks = isFireworksModel(typedBody.model)
@@ -432,7 +431,7 @@ export async function postChatCompletions(params: {
432431
})
433432
} else {
434433
// Non-streaming request — route to SiliconFlow/CanopyWave/Fireworks for supported models
435-
// SiliconFlow, CanopyWave, and Fireworks TEMPORARILY DISABLED: route through OpenRouter
434+
// TEMPORARILY DISABLED: route through OpenRouter
436435
const model = typedBody.model
437436
const useSiliconFlow = false // isSiliconFlowModel(model)
438437
const useCanopyWave = false // isCanopyWaveModel(model)

web/src/llm-api/fireworks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const fireworksAgent = new Agent({
2828

2929
/** Map from OpenRouter model IDs to Fireworks model IDs */
3030
const FIREWORKS_MODEL_MAP: Record<string, string> = {
31-
// 'minimax/minimax-m2.5': 'accounts/fireworks/models/minimax-m2p5',
31+
'minimax/minimax-m2.5': 'accounts/fireworks/models/minimax-m2p5',
3232
}
3333

3434
export function isFireworksModel(model: string): boolean {

0 commit comments

Comments
 (0)