Skip to content

Commit 184dc30

Browse files
committed
Turn on custom fireworks deployment!
1 parent 190caee commit 184dc30

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/test-fireworks-long.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
export { }
1414

1515
const FIREWORKS_BASE_URL = 'https://api.fireworks.ai/inference/v1'
16-
// const FIREWORKS_MODEL = 'accounts/james-65d217/deployments/lnfid5h9'
17-
const FIREWORKS_MODEL = 'accounts/fireworks/models/minimax-m2p5'
16+
const FIREWORKS_MODEL = 'accounts/james-65d217/deployments/lnfid5h9'
17+
// const FIREWORKS_MODEL = 'accounts/fireworks/models/minimax-m2p5'
1818

1919
// Pricing constants — https://fireworks.ai/pricing
2020
const INPUT_COST_PER_TOKEN = 0.30 / 1_000_000

web/src/llm-api/fireworks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const FIREWORKS_MODEL_MAP: Record<string, string> = {
3232
}
3333

3434
/** Flag to enable custom Fireworks deployments (set to false to use global API only) */
35-
const FIREWORKS_USE_CUSTOM_DEPLOYMENT = false
35+
const FIREWORKS_USE_CUSTOM_DEPLOYMENT = true
3636

3737
/** Custom deployment IDs for models with dedicated Fireworks deployments */
3838
const FIREWORKS_DEPLOYMENT_MAP: Record<string, string> = {

0 commit comments

Comments
 (0)