Skip to content

Commit e1f4917

Browse files
committed
Add instructions for setting secrets locally
1 parent f9a2813 commit e1f4917

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

llm/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
venv/
22
__pycache__/
33
databases/
4+
.secret.local

llm/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ source llm/venv/bin/activate
158158
pip3 install -r llm/requirements.txt
159159
```
160160

161-
Note: you'll also need to set your `OPENAI_API_KEY` in `llm/.env.local` file
161+
Note: you'll need to set `OPENAI_DEV` and `OPENAI_PROD` in a
162+
`llm/.secret.local` file. Get it with `firebase functions:secrets:access
163+
OPENAI_DEV`. They can be set to the same token.
162164

163165
## Deploying to Firebase
164166

0 commit comments

Comments
 (0)