-
-
Notifications
You must be signed in to change notification settings - Fork 646
Expand file tree
/
Copy pathwrangler.toml
More file actions
21 lines (17 loc) · 611 Bytes
/
Copy pathwrangler.toml
File metadata and controls
21 lines (17 loc) · 611 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name = "pxpipe"
main = "src/worker.ts"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat_v2"]
# Anthropic upstream is fetched via global fetch — no special bindings needed.
# Set secrets via: wrangler secret put ANTHROPIC_API_KEY (optional passthrough)
[vars]
ANTHROPIC_UPSTREAM = "https://api.anthropic.com"
COMPRESS = "1"
MIN_COMPRESS_CHARS = "2000"
PXPIPE_MODELS = "claude-fable-5,gemini-3.6-flash"
# Uncomment to ship to a workers.dev subdomain
# workers_dev = true
# Or attach a custom route:
# routes = [
# { pattern = "pxpipe.example.com/*", zone_name = "example.com" }
# ]