Spaces:
Paused
Paused
Kazuhiro Sera commited on
Commit ·
583cf7a
1
Parent(s): ecfce54
Remove unset command for Windows OS users (#32)
Browse files- README.md +3 -3
- package.json +1 -1
README.md
CHANGED
|
@@ -38,9 +38,9 @@ You can get your OpenAI API key from the [OpenAI API Keys](https://platform.open
|
|
| 38 |
|
| 39 |
Update `.env.local` with the variables that match your setup.
|
| 40 |
|
| 41 |
-
- `OPENAI_API_KEY` — API key created **within the same org & project as your Agent Builder**
|
| 42 |
-
- `NEXT_PUBLIC_CHATKIT_WORKFLOW_ID` — the workflow you created in [Agent Builder](https://platform.openai.com/agent-builder)
|
| 43 |
-
- (optional) `CHATKIT_API_BASE` - customizable base URL for the ChatKit API endpoint
|
| 44 |
|
| 45 |
> Note: if your workflow is using a model requiring organization verification, such as GPT-5, make sure you verify your organization first. Visit your [organization settings](https://platform.openai.com/settings/organization/general) and click on "Verify Organization".
|
| 46 |
|
|
|
|
| 38 |
|
| 39 |
Update `.env.local` with the variables that match your setup.
|
| 40 |
|
| 41 |
+
- `OPENAI_API_KEY` — This must be an API key created **within the same org & project as your Agent Builder**. If you already have a different `OPENAI_API_KEY` env variable set in your terminal session, that one will take precedence over the key in `.env.local` one (this is how a Next.js app works). So, **please run `unset OPENAI_API_KEY` (`set OPENAI_API_KEY=` for Windows OS) beforehand**.
|
| 42 |
+
- `NEXT_PUBLIC_CHATKIT_WORKFLOW_ID` — This is the ID of the workflow you created in [Agent Builder](https://platform.openai.com/agent-builder), which starts with `wf_...`
|
| 43 |
+
- (optional) `CHATKIT_API_BASE` - This is a customizable base URL for the ChatKit API endpoint
|
| 44 |
|
| 45 |
> Note: if your workflow is using a model requiring organization verification, such as GPT-5, make sure you verify your organization first. Visit your [organization settings](https://platform.openai.com/settings/organization/general) and click on "Verify Organization".
|
| 46 |
|
package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"version": "0.1.0",
|
| 4 |
"private": true,
|
| 5 |
"scripts": {
|
| 6 |
-
"dev": "
|
| 7 |
"build": "next build",
|
| 8 |
"start": "next start",
|
| 9 |
"lint": "eslint"
|
|
|
|
| 3 |
"version": "0.1.0",
|
| 4 |
"private": true,
|
| 5 |
"scripts": {
|
| 6 |
+
"dev": "next dev",
|
| 7 |
"build": "next build",
|
| 8 |
"start": "next start",
|
| 9 |
"lint": "eslint"
|