-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
42 lines (34 loc) · 1.21 KB
/
wrangler.toml
File metadata and controls
42 lines (34 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#:schema node_modules/wrangler/config-schema.json
name = "promptexecutionwebsite"
compatibility_date = "2024-12-01"
# Cloudflare Pages configuration. Keep this file Pages-only so
# Cloudflare's Pages build system can validate it successfully.
pages_build_output_dir = "dist"
# D1 Database for metadata, votes, subscriptions
[[d1_databases]]
binding = "DB"
database_name = "llm-comic-db"
database_id = "63d24854-1c1d-4f86-8029-242c298177a9"
# R2 Bucket for comic images
[[r2_buckets]]
binding = "COMICS_BUCKET"
bucket_name = "llm-comics"
# Secrets for VAPID keys (Web Push)
# Set with: wrangler secret put VAPID_PUBLIC_KEY
# Set with: wrangler secret put VAPID_PRIVATE_KEY
# Override or pin model defaults for production deployments.
[env.production.ai]
binding = "AI"
[[env.production.d1_databases]]
binding = "DB"
database_name = "llm-comic-db"
database_id = "63d24854-1c1d-4f86-8029-242c298177a9"
[[env.production.r2_buckets]]
binding = "COMICS_BUCKET"
bucket_name = "llm-comics"
[env.production.vars]
SCRIPT_MODEL_A = "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b"
SCRIPT_MODEL_B = "@cf/meta/llama-3.3-70b-instruct-fp8-fast"
TOPIC_MODEL = "@cf/qwen/qwen3-30b-a3b-fp8"
AUTO_GENERATE_ON_READ = "1"
ALLOW_LOCAL_BOOTSTRAP = "1"