Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions apps/cloudflare-chat/.env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Cloudflare Worker Configuration
CLOUDFLARE_WORKER_URL=https://your-worker.your-subdomain.workers.dev

# Public WebSocket URL (for client-side real-time updates)
NEXT_PUBLIC_CLOUDFLARE_WORKER_URL=https://your-worker.your-subdomain.workers.dev

# OpenAI API Key (for GPT models)
OPENAI_API_KEY=sk-...

# Anthropic API Key (for Claude models)
ANTHROPIC_API_KEY=sk-ant-...

# Optional: AI Gateway Configuration
# AI_GATEWAY_URL=https://gateway.ai.cloudflare.com/v1/YOUR_ACCOUNT_ID/YOUR_GATEWAY_ID
Loading