add OPENAI_ACCESS_TOKEN to compose example #2168

Merged
letavocado merged 2 commits from patch-1 into main 2025-04-29 03:06:30 +08:00
letavocado commented 2025-04-28 22:12:48 +08:00 (Migrated from github.com)
No description provided.
fabiand93 commented 2025-04-28 23:08:10 +08:00 (Migrated from github.com)

With this change it works if you set the openai token in your .env

Status: Working

With this change it works if you set the openai token in your .env Status: Working
zachgoll (Migrated from github.com) approved these changes 2025-04-29 03:05:55 +08:00
zachgoll (Migrated from github.com) left a comment

Just added a little note so self-hosters remember to set spend limits on their account.

Just added a little note so self-hosters remember to set spend limits on their account.
@@ -42,2 +42,4 @@
DB_PORT: 5432
REDIS_URL: redis://redis:6379/1
# NOTE: enabling OpenAI will incur costs when you use AI-related features in the app (chat, rules). Make sure you have set appropriate spend limits on your account before adding this.
OPENAI_ACCESS_TOKEN: ${OPENAI_ACCESS_TOKEN}
zachgoll (Migrated from github.com) commented 2025-04-29 03:05:09 +08:00
# NOTE: enabling OpenAI will incur costs when you use AI-related features in the app (chat, rules).  Make sure you have set appropriate spend limits on your account before adding this.
  OPENAI_ACCESS_TOKEN: ${OPENAI_ACCESS_TOKEN}
```suggestion # NOTE: enabling OpenAI will incur costs when you use AI-related features in the app (chat, rules). Make sure you have set appropriate spend limits on your account before adding this. OPENAI_ACCESS_TOKEN: ${OPENAI_ACCESS_TOKEN} ```
zachgoll (Migrated from github.com) approved these changes 2025-04-29 03:06:22 +08:00
Sign in to join this conversation.