feat: add Fireworks AI as a built-in provider#2740
Closed
majiayu000 wants to merge 1 commit intoantinomyhq:mainfrom
Closed
feat: add Fireworks AI as a built-in provider#2740majiayu000 wants to merge 1 commit intoantinomyhq:mainfrom
majiayu000 wants to merge 1 commit intoantinomyhq:mainfrom
Conversation
Add Fireworks AI provider entry to provider.rs (const, built_in_providers, from_str, display_name) and provider.json with Kimi K2.5 Turbo FirePass model. OpenAI-compatible endpoint. Closes antinomyhq#2738 Signed-off-by: majiayu000 <1835304752@qq.com>
|
seems like there's an error that I'm getting when using forge built from this pr -- [17:08:51] ERROR: POST https://api.fireworks.ai/inference/v1/chat/completions Provider was set to fireworks ai Might there be extra setup required? I'll note that I also had issues with kimi-k2.5 from the alibaba coding plan provider -- these could be related issues caused by the json schema employed by forge (core issue) |
Contributor
|
closing in favour of #2758 2758 |
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.
Fixes #2738
Adds Fireworks AI as a built-in provider, same pattern as the Novita AI addition in #2687.
Changes:
crates/forge_domain/src/provider.rs: added FIREWORKS const, registered inbuilt_in_providers(), addedfrom_strmatch arm anddisplay_name()entrycrates/forge_repo/src/provider/provider.json: added fireworks provider config with the Kimi K2.5 Turbo (FirePass) model, OpenAI-compatible response typeTested with
cargo check --all-features --workspaceandcargo test --all-features --workspace, both pass clean.