You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: development/CONTRIBUTING.md
+3-11Lines changed: 3 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,12 +66,11 @@ For a streamlined local development experience, especially when managing multipl
66
66
cp .env.example .env.dev
67
67
```
68
68
2. **Populate `.env.dev`:**
69
-
Open `.env.dev` and fill in the necessary environment variables, such as `FIREWORKS_API_KEY`, `FIREWORKS_ACCOUNT_ID`, and any other variables required for your development tasks (e.g., `E2B_API_KEY`).
69
+
Open `.env.dev` and fill in the necessary environment variables, such as `FIREWORKS_API_KEY` and any other variables required for your development tasks (e.g., `E2B_API_KEY`).
70
70
71
71
Example content for`.env.dev`:
72
72
```
73
73
FIREWORKS_API_KEY="your_dev_fireworks_api_key"
74
-
FIREWORKS_ACCOUNT_ID="abc"
75
74
FIREWORKS_API_BASE="https://api.fireworks.ai"
76
75
E2B_API_KEY="your_e2b_api_key"
77
76
```
@@ -92,15 +91,12 @@ Set the following environment variables. For development, you might use specific
92
91
93
92
*`FIREWORKS_API_KEY`: Your Fireworks AI API key.
94
93
* For development, you might use a specific dev key: `export FIREWORKS_API_KEY="your_dev_fireworks_api_key"`
95
-
*`FIREWORKS_ACCOUNT_ID`: Your Fireworks AI Account ID. This is used to scope operations to your account.
96
-
* For development against a shared dev environment, this might be a common ID like `pyroworks-dev`: `export FIREWORKS_ACCOUNT_ID="pyroworks-dev"`
97
94
*`FIREWORKS_API_BASE`: (Optional) If you need to target a non-production Fireworks API endpoint.
98
95
* For development: `export FIREWORKS_API_BASE="https://dev.api.fireworks.ai"`
*`FIREWORKS_API_KEY`: Authenticates your requests to the Fireworks AI service.
117
-
*`FIREWORKS_ACCOUNT_ID`: Identifies your account for operations like managing evaluators. Typically this is derived automatically from `FIREWORKS_API_KEY` via the `verifyApiKey` endpoint.
118
113
*`FIREWORKS_API_BASE`: Allows targeting different API environments (e.g., development, staging).
119
114
120
115
**Other Environment Variables:**
@@ -490,11 +485,8 @@ This is perfect for development, webhook testing, or making your reward function
490
485
If you encounter authentication issues:
491
486
492
487
1. **Check Credential Sources**:
493
-
* Verify that `FIREWORKS_API_KEY` and `FIREWORKS_ACCOUNT_ID` are correctly set as environment variables.
494
-
* If not using environment variables, ensure `~/.fireworks/auth.ini` exists, is correctly formatted, and contains the right `api_key` and `account_id` under the `[fireworks]` section.
495
-
* Remember the priority: environment variables override the `auth.ini` file.
488
+
* Verify that `FIREWORKS_API_KEY` is correctly set as an environment variable.
496
489
2. **Verify API Key Permissions**: Ensure the API key has the necessary permissions for the operations you are attempting.
497
-
3. **Check Account ID**: Confirm that the `FIREWORKS_ACCOUNT_ID` is correct for the environment you are targeting (e.g., `pyroworks-dev`for the dev API, or your personal account ID).
498
490
4. **API Base URL**: If using `FIREWORKS_API_BASE`, ensure it points to the correct API endpoint (e.g., `https://dev.api.fireworks.ai`for development).
499
491
500
492
You can use the following snippet to check what credentials Eval Protocol is resolving:
0 commit comments