remove auth ini logic #377
Merged
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.
Note
Switch to API-key-only auth with account ID derived via verifyApiKey, removing auth.ini/profile and FIREWORKS_ACCOUNT_ID usage, and updating CLI, docs, examples, and tests accordingly.
get_fireworks_api_keyreads env;get_fireworks_account_idderives viaverifyApiKeyagainstFIREWORKS_API_BASE.auth.ini/profile resolution logic and all references toFIREWORKS_ACCOUNT_IDas input.--profilesupport and related env bootstrapping; keep--serverto setFIREWORKS_API_BASE._ensure_account_id).FIREWORKS_ACCOUNT_IDsetup andauth.iniguidance acrossCONTRIBUTING.md, CLI docs, READMEs, and.env.example.FIREWORKS_API_KEY(optionalFIREWORKS_API_BASE).verify_api_key_and_get_account_idwhere needed.FIREWORKS_ACCOUNT_IDand to stub account-id derivation.Written by Cursor Bugbot for commit 7387b85. This will update automatically on new commits. Configure here.