[feat]: add Fireworks AI provider and Fire Pass support#3564
Open
paraddox wants to merge 1 commit intoNousResearch:mainfrom
Open
[feat]: add Fireworks AI provider and Fire Pass support#3564paraddox wants to merge 1 commit intoNousResearch:mainfrom
paraddox wants to merge 1 commit intoNousResearch:mainfrom
Conversation
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.
What does this PR do?
Adds Fireworks AI as a first-class Hermes provider, including Fire Pass support.
This PR wires Fireworks into the existing provider/auth/setup/model-selection flows instead of treating it like a custom endpoint. It uses the standard Fireworks API key and base URL, supports the Fire Pass router model, and keeps Fire Pass
extensible by treating it as a small catalog rather than a one-off hardcoded branch.
For regular Fireworks usage, Hermes now fetches account-scoped Fireworks models at runtime. For Fire Pass, Hermes keeps a curated router list so the setup flow stays reliable even though Fire Pass is a separate product surface.
This approach fits Hermes’s existing provider architecture:
auth.pysetup.pymodels.pyRelated Issue
Fixes #3510
Type of Change
Changes Made
fireworksas an API-key provider inhermes_cli/auth.pyhermes_cli/config.pyhermes_cli/setup.pyhermes modelflows inhermes_cli/main.pyhermes_cli/models.pyagent/model_metadata.pytests/hermes_cli/test_models.pytests/hermes_cli/test_setup_model_provider.pytests/test_api_key_providers.pytests/test_setup_model_selection.pytests/test_model_provider_persistence.pytests/test_cli_provider_resolution.pytests/agent/test_model_metadata.pyHow to Test
source venv/bin/activate hermes setupChoose Fireworks AI (open models + Fire Pass) and verify the provider setup completes.
Verify model flows:
hermes model
hermes chat --provider fireworks -q "hello"
Confirm Fireworks appears as a normal provider and --provider fireworks is accepted.
Run the targeted regression slice:
source venv/bin/activate
python -m pytest tests/hermes_cli/test_models.py tests/hermes_cli/test_setup_model_provider.py tests/test_api_key_providers.py tests/test_model_provider_persistence.py tests/test_cli_provider_resolution.py tests/agent/test_model_metadata.py -q
Expected result:
Checklist
Code
Documentation & Housekeeping
Screenshots / Logs
Targeted verification:
$ source venv/bin/activate
$ python -m pytest tests/hermes_cli/test_models.py tests/hermes_cli/test_setup_model_provider.py tests/test_api_key_providers.py tests/test_model_provider_persistence.py tests/test_cli_provider_resolution.py tests/agent/test_model_metadata.py -q
257 passed, 24 warnings in 4.26s