feat(sync): add Fireworks AI catalog sync - #6516
Closed
opencode-agent[bot] wants to merge 1 commit into
Closed
opencode-agent[bot] wants to merge 1 commit into
opencode-agent[bot] wants to merge 1 commit into
Conversation
Contributor
|
No actionable findings. |
|
Could we use GET /v1/serverless/models as the sync source instead of /inference/v1/models? It exposes serverless-specific pricing, serving modes, aliases/usage identifiers, context, and modalities. I'm happy to open up new PR. |
Collaborator
|
closing in favor: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fireworks-aisync target using Fireworks' OpenAI-compatible/inference/v1/modelsendpointqwen3p8-max, confirmed by both the API and a successful image completionAPI investigation
accounts/fireworks/models/minimax-m2p7andaccounts/fireworks/models/deepseek-v4-pro.format=openrouterdoes not produce OpenRouter metadata. It returns a byte-identical response to the default endpoint, as dotype=text,limit=1, andpageSize=1./v1/accounts/fireworks/modelsreports 306 public model resources, butfilter=supports_serverless=truereturns only 21 base models. It excludes all 3 callable routers and the callableminimax-m2p7model.serverlessModes, so it supplied no advertised pricing or serving-path data.minimax-m3reportssupports_image_input=falsebut successfully accepted an image completion. The sync therefore uses positive image/tool flags to add capabilities but never removes authored capabilities from a false flag.Checks
bun test packages/core/test/fireworks-ai-sync.test.ts— 5 passedbun validate— passedbun models:sync fireworks-ai --dry-run --no-issues— clean after the initial update (21 unchanged)bun testretains the same 5 unrelated failures reproduced on cleanorigin/devRequested by: @rekram1-node (Aiden via Slack)