File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
app/api/v1/chat/completions Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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)
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const fireworksAgent = new Agent({
2828
2929/** Map from OpenRouter model IDs to Fireworks model IDs */
3030const 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
3434export function isFireworksModel ( model : string ) : boolean {
You can’t perform that action at this time.
0 commit comments