feat(providers): add Fireworks AI provider integration#3873
feat(providers): add Fireworks AI provider integration#3873waleedlatif1 merged 5 commits intostagingfrom
Conversation
PR SummaryMedium Risk Overview Introduces a new dynamic model-listing endpoint ( Wires Fireworks into the rest of the app: provider registry/types, providers store and model combobox aggregation, workspace model loader/query caching keyed by Written by Cursor Bugbot for commit abae75f. Configure here. |
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Greptile SummaryThis PR integrates Fireworks AI as a new LLM provider with full OpenAI-compatible support: dynamic model listing (with optional env-key or workspace BYOK), streaming, multi-turn tool calling, and structured outputs via Key changes:
Confidence Score: 5/5Safe to merge — no P0/P1 issues; the security concern from prior reviews has been fully addressed. The implementation is consistent with established provider patterns, the workspace-membership authorization fix is in place, and all remaining observations are P2 style/informational notes that do not block correctness or safety. No files require special attention. Important Files Changed
Reviews (4): Last reviewed commit: "fix(providers): add workspace membership..." | Re-trigger Greptile |
|
Thanks for the thorough review! Both P2 findings addressed in fc2c7f3:
|
|
@greptile |
|
@cursor review |
|
@greptile |
|
@cursor review |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Autofix Details
Bugbot Autofix prepared a fix for 1 of the 2 issues found in the latest run.
- ✅ Fixed: Fetch cache shared across different user API keys
- Replaced next.revalidate with cache: 'no-store' to prevent Next.js data cache from serving cached responses across different user API keys.
⚠️ Could not fix: Fireworks provider duplicates entire OpenRouter implementation- Creating a shared OpenAI-compatible provider factory would require substantial refactoring across multiple providers and goes beyond minimal bugfix scope.
Or push these changes by commenting:
@cursor push 7939867000
Preview (7939867000)
diff --git a/apps/sim/app/api/providers/fireworks/models/route.ts b/apps/sim/app/api/providers/fireworks/models/route.ts
--- a/apps/sim/app/api/providers/fireworks/models/route.ts
+++ b/apps/sim/app/api/providers/fireworks/models/route.ts
@@ -53,7 +53,7 @@
Authorization: `Bearer ${apiKey}`,
'Content-Type': 'application/json',
},
- next: { revalidate: 300 },
+ cache: 'no-store',
})
if (!response.ok) {This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.
…h cache for fireworks models
|
@greptile |
|
@cursor review |

Summary
Type of Change
Testing
Tested manually
Checklist