pi-fireworks-provider 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/patch.json +43 -90
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-fireworks-provider",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Fireworks AI provider extension for pi - Access Kimi, MiniMax, GLM, DeepSeek, and GPT-OSS models through the Fireworks AI API",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/patch.json CHANGED
@@ -33,9 +33,14 @@
33
33
  },
34
34
  "accounts/fireworks/models/deepseek-v4-flash": {
35
35
  "name": "DeepSeek V4 Flash",
36
- "api": "anthropic-messages",
37
- "baseUrl": "https://api.fireworks.ai/inference",
38
36
  "reasoning": true,
37
+ "thinkingLevelMap": {
38
+ "off": "none",
39
+ "minimal": null,
40
+ "low": "high",
41
+ "medium": "high",
42
+ "xhigh": "max"
43
+ },
39
44
  "input": ["text"],
40
45
  "cost": {
41
46
  "input": 0.14,
@@ -46,17 +51,19 @@
46
51
  "contextWindow": 1000000,
47
52
  "maxTokens": 384000,
48
53
  "compat": {
49
- "sendSessionAffinityHeaders": true,
50
- "supportsEagerToolInputStreaming": false,
51
- "supportsCacheControlOnTools": false,
52
- "supportsLongCacheRetention": false
54
+ "supportsReasoningEffort": true
53
55
  }
54
56
  },
55
57
  "accounts/fireworks/models/deepseek-v4-pro": {
56
58
  "name": "DeepSeek V4 Pro",
57
- "api": "anthropic-messages",
58
- "baseUrl": "https://api.fireworks.ai/inference",
59
59
  "reasoning": true,
60
+ "thinkingLevelMap": {
61
+ "off": "none",
62
+ "minimal": null,
63
+ "low": "high",
64
+ "medium": "high",
65
+ "xhigh": "max"
66
+ },
60
67
  "input": ["text"],
61
68
  "cost": {
62
69
  "input": 1.74,
@@ -67,10 +74,7 @@
67
74
  "contextWindow": 1000000,
68
75
  "maxTokens": 384000,
69
76
  "compat": {
70
- "sendSessionAffinityHeaders": true,
71
- "supportsEagerToolInputStreaming": false,
72
- "supportsCacheControlOnTools": false,
73
- "supportsLongCacheRetention": false
77
+ "supportsReasoningEffort": true
74
78
  }
75
79
  },
76
80
  "accounts/fireworks/models/glm-4p5": {
@@ -139,8 +143,6 @@
139
143
  },
140
144
  "accounts/fireworks/models/glm-5p1": {
141
145
  "name": "GLM 5.1",
142
- "api": "anthropic-messages",
143
- "baseUrl": "https://api.fireworks.ai/inference",
144
146
  "reasoning": true,
145
147
  "input": ["text"],
146
148
  "cost": {
@@ -152,10 +154,7 @@
152
154
  "contextWindow": 202800,
153
155
  "maxTokens": 131072,
154
156
  "compat": {
155
- "sendSessionAffinityHeaders": true,
156
- "supportsEagerToolInputStreaming": false,
157
- "supportsCacheControlOnTools": false,
158
- "supportsLongCacheRetention": false
157
+ "supportsReasoningEffort": true
159
158
  }
160
159
  },
161
160
  "accounts/fireworks/models/glm-5p2": {
@@ -186,8 +185,6 @@
186
185
  },
187
186
  "accounts/fireworks/models/gpt-oss-120b": {
188
187
  "name": "GPT OSS 120B",
189
- "api": "anthropic-messages",
190
- "baseUrl": "https://api.fireworks.ai/inference",
191
188
  "reasoning": true,
192
189
  "input": ["text"],
193
190
  "cost": {
@@ -199,16 +196,11 @@
199
196
  "contextWindow": 131072,
200
197
  "maxTokens": 32768,
201
198
  "compat": {
202
- "sendSessionAffinityHeaders": true,
203
- "supportsEagerToolInputStreaming": false,
204
- "supportsCacheControlOnTools": false,
205
- "supportsLongCacheRetention": false
199
+ "supportsReasoningEffort": true
206
200
  }
207
201
  },
208
202
  "accounts/fireworks/models/gpt-oss-20b": {
209
203
  "name": "GPT OSS 20B",
210
- "api": "anthropic-messages",
211
- "baseUrl": "https://api.fireworks.ai/inference",
212
204
  "reasoning": true,
213
205
  "input": ["text"],
214
206
  "cost": {
@@ -220,10 +212,7 @@
220
212
  "contextWindow": 131072,
221
213
  "maxTokens": 32768,
222
214
  "compat": {
223
- "sendSessionAffinityHeaders": true,
224
- "supportsEagerToolInputStreaming": false,
225
- "supportsCacheControlOnTools": false,
226
- "supportsLongCacheRetention": false
215
+ "supportsReasoningEffort": true
227
216
  }
228
217
  },
229
218
  "accounts/fireworks/models/gemma-4-26b-a4b-it": {
@@ -303,8 +292,6 @@
303
292
  },
304
293
  "accounts/fireworks/models/kimi-k2p6": {
305
294
  "name": "Kimi K2.6",
306
- "api": "anthropic-messages",
307
- "baseUrl": "https://api.fireworks.ai/inference",
308
295
  "reasoning": true,
309
296
  "input": ["text", "image"],
310
297
  "cost": {
@@ -316,16 +303,11 @@
316
303
  "contextWindow": 262000,
317
304
  "maxTokens": 262000,
318
305
  "compat": {
319
- "sendSessionAffinityHeaders": true,
320
- "supportsEagerToolInputStreaming": false,
321
- "supportsCacheControlOnTools": false,
322
- "supportsLongCacheRetention": false
306
+ "supportsReasoningEffort": true
323
307
  }
324
308
  },
325
309
  "accounts/fireworks/models/kimi-k2p7-code": {
326
310
  "name": "Kimi K2.7 Code",
327
- "api": "anthropic-messages",
328
- "baseUrl": "https://api.fireworks.ai/inference",
329
311
  "reasoning": true,
330
312
  "input": ["text", "image"],
331
313
  "cost": {
@@ -337,10 +319,7 @@
337
319
  "contextWindow": 262000,
338
320
  "maxTokens": 262000,
339
321
  "compat": {
340
- "sendSessionAffinityHeaders": true,
341
- "supportsEagerToolInputStreaming": false,
342
- "supportsCacheControlOnTools": false,
343
- "supportsLongCacheRetention": false
322
+ "supportsReasoningEffort": true
344
323
  }
345
324
  },
346
325
  "accounts/fireworks/models/minimax-m2p1": {
@@ -377,8 +356,6 @@
377
356
  },
378
357
  "accounts/fireworks/models/minimax-m2p7": {
379
358
  "name": "MiniMax-M2.7",
380
- "api": "anthropic-messages",
381
- "baseUrl": "https://api.fireworks.ai/inference",
382
359
  "reasoning": true,
383
360
  "input": ["text"],
384
361
  "cost": {
@@ -390,16 +367,11 @@
390
367
  "contextWindow": 196608,
391
368
  "maxTokens": 196608,
392
369
  "compat": {
393
- "sendSessionAffinityHeaders": true,
394
- "supportsEagerToolInputStreaming": false,
395
- "supportsCacheControlOnTools": false,
396
- "supportsLongCacheRetention": false
370
+ "supportsReasoningEffort": true
397
371
  }
398
372
  },
399
373
  "accounts/fireworks/models/minimax-m3": {
400
374
  "name": "MiniMax-M3",
401
- "api": "anthropic-messages",
402
- "baseUrl": "https://api.fireworks.ai/inference",
403
375
  "reasoning": true,
404
376
  "input": ["text"],
405
377
  "cost": {
@@ -411,16 +383,11 @@
411
383
  "contextWindow": 512000,
412
384
  "maxTokens": 512000,
413
385
  "compat": {
414
- "sendSessionAffinityHeaders": true,
415
- "supportsEagerToolInputStreaming": false,
416
- "supportsCacheControlOnTools": false,
417
- "supportsLongCacheRetention": false
386
+ "supportsReasoningEffort": true
418
387
  }
419
388
  },
420
389
  "accounts/fireworks/models/qwen3p7-plus": {
421
390
  "name": "Qwen 3.7 Plus",
422
- "api": "anthropic-messages",
423
- "baseUrl": "https://api.fireworks.ai/inference",
424
391
  "reasoning": true,
425
392
  "input": ["text", "image"],
426
393
  "cost": {
@@ -432,15 +399,19 @@
432
399
  "contextWindow": 262144,
433
400
  "maxTokens": 65536,
434
401
  "compat": {
435
- "sendSessionAffinityHeaders": true,
436
- "supportsEagerToolInputStreaming": false,
437
- "supportsCacheControlOnTools": false,
438
- "supportsLongCacheRetention": false
402
+ "supportsReasoningEffort": true
439
403
  }
440
404
  },
441
405
  "accounts/fireworks/routers/deepseek-v4-pro": {
442
406
  "name": "DeepSeek V4 Pro (router)",
443
407
  "reasoning": true,
408
+ "thinkingLevelMap": {
409
+ "off": "none",
410
+ "minimal": null,
411
+ "low": "high",
412
+ "medium": "high",
413
+ "xhigh": "max"
414
+ },
444
415
  "input": ["text"],
445
416
  "cost": {
446
417
  "input": 1.74,
@@ -472,8 +443,6 @@
472
443
  },
473
444
  "accounts/fireworks/routers/glm-5p1-fast": {
474
445
  "name": "GLM 5.1 Fast",
475
- "api": "anthropic-messages",
476
- "baseUrl": "https://api.fireworks.ai/inference",
477
446
  "reasoning": true,
478
447
  "input": ["text"],
479
448
  "cost": {
@@ -485,17 +454,19 @@
485
454
  "contextWindow": 202800,
486
455
  "maxTokens": 131072,
487
456
  "compat": {
488
- "sendSessionAffinityHeaders": true,
489
- "supportsEagerToolInputStreaming": false,
490
- "supportsCacheControlOnTools": false,
491
- "supportsLongCacheRetention": false
457
+ "supportsReasoningEffort": true
492
458
  }
493
459
  },
494
460
  "accounts/fireworks/routers/glm-5p2-fast": {
495
461
  "name": "GLM 5.2 Fast",
496
- "api": "anthropic-messages",
497
- "baseUrl": "https://api.fireworks.ai/inference",
498
462
  "reasoning": true,
463
+ "thinkingLevelMap": {
464
+ "off": "none",
465
+ "minimal": null,
466
+ "low": "high",
467
+ "medium": "high",
468
+ "xhigh": "max"
469
+ },
499
470
  "input": ["text"],
500
471
  "cost": {
501
472
  "input": 2.1,
@@ -506,10 +477,7 @@
506
477
  "contextWindow": 1048575,
507
478
  "maxTokens": 131072,
508
479
  "compat": {
509
- "sendSessionAffinityHeaders": true,
510
- "supportsEagerToolInputStreaming": false,
511
- "supportsCacheControlOnTools": false,
512
- "supportsLongCacheRetention": false
480
+ "supportsReasoningEffort": true
513
481
  }
514
482
  },
515
483
  "accounts/fireworks/routers/kimi-k2p5-fast": {
@@ -546,8 +514,6 @@
546
514
  },
547
515
  "accounts/fireworks/routers/kimi-k2p6-fast": {
548
516
  "name": "Kimi K2.6 Fast",
549
- "api": "anthropic-messages",
550
- "baseUrl": "https://api.fireworks.ai/inference",
551
517
  "reasoning": true,
552
518
  "input": ["text", "image"],
553
519
  "cost": {
@@ -559,16 +525,11 @@
559
525
  "contextWindow": 262000,
560
526
  "maxTokens": 262000,
561
527
  "compat": {
562
- "sendSessionAffinityHeaders": true,
563
- "supportsEagerToolInputStreaming": false,
564
- "supportsCacheControlOnTools": false,
565
- "supportsLongCacheRetention": false
528
+ "supportsReasoningEffort": true
566
529
  }
567
530
  },
568
531
  "accounts/fireworks/routers/kimi-k2p6-turbo": {
569
532
  "name": "Kimi K2.6 Turbo",
570
- "api": "anthropic-messages",
571
- "baseUrl": "https://api.fireworks.ai/inference",
572
533
  "reasoning": true,
573
534
  "input": ["text", "image"],
574
535
  "cost": {
@@ -580,16 +541,11 @@
580
541
  "contextWindow": 262000,
581
542
  "maxTokens": 262000,
582
543
  "compat": {
583
- "sendSessionAffinityHeaders": true,
584
- "supportsEagerToolInputStreaming": false,
585
- "supportsCacheControlOnTools": false,
586
- "supportsLongCacheRetention": false
544
+ "supportsReasoningEffort": true
587
545
  }
588
546
  },
589
547
  "accounts/fireworks/routers/kimi-k2p7-code-fast": {
590
548
  "name": "Kimi K2.7 Code Fast",
591
- "api": "anthropic-messages",
592
- "baseUrl": "https://api.fireworks.ai/inference",
593
549
  "reasoning": true,
594
550
  "input": ["text", "image"],
595
551
  "cost": {
@@ -601,10 +557,7 @@
601
557
  "contextWindow": 262000,
602
558
  "maxTokens": 262000,
603
559
  "compat": {
604
- "sendSessionAffinityHeaders": true,
605
- "supportsEagerToolInputStreaming": false,
606
- "supportsCacheControlOnTools": false,
607
- "supportsLongCacheRetention": false
560
+ "supportsReasoningEffort": true
608
561
  }
609
562
  },
610
563
  "accounts/fireworks/routers/minimax-m2p7": {