-
Notifications
You must be signed in to change notification settings - Fork 10
Refactor ep upload to use Fireworks SDK + Auto-generate flags
#379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Refactor ep upload to use Fireworks SDK + Auto-generate flags
#379
Conversation
…eworks-sdk-auto-generate-flags # Conflicts: # development/CONTRIBUTING.md # docs/cli_reference/cli_overview.mdx # eval_protocol/auth.py # eval_protocol/cli_commands/utils.py # tests/test_auth.py
ep upload to use Fireworks SDK + Auto-generate flags
…eworks-sdk-auto-generate-flags
…eworks-sdk-auto-generate-flags
…les and remove API_KEY filtering logic
| secrets[key] = value | ||
|
|
||
| return secrets | ||
| return env_vars |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All env vars now uploaded as secrets, not just API keys
The _load_secrets_from_env_file function previously filtered env vars to only include those with "API_KEY" in the name. This filtering logic was removed, so now ALL environment variables from the .env file are uploaded as Fireworks secrets. This could expose unintended data like DEBUG=true, LOG_LEVEL=info, database URLs, or other non-secret configuration. Additionally, the user-facing message at line 215 still says "API keys" which is now misleading since all env vars are uploaded.
Note
Modernizes evaluator and CLI flows around the Fireworks SDK and trims deprecated commands.
Evaluatorto SDK-basedcreate+get_upload_endpoint+validate_uploadand tarball upload honoring ignore filesdeploy,deploy-mcp,preview,run); keepslogs,upload,create rft,local-test,export-docsupload: auto-generates flags fromFireworks().evaluators.create(); adds aliases/help overrides; reads all.envvars for secrets; supports--force--serverto setFIREWORKS_API_BASE; logging/setup streamlinedplatform_apisecret operations to use SDK types and methodsfireworks-ai==1.0.0a20; removes tests tied to deleted commands and adjusts CLI arg testsWritten by Cursor Bugbot for commit 1d7d807. This will update automatically on new commits. Configure here.