-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
29 lines (25 loc) · 1.11 KB
/
Copy pathwrangler.toml
File metadata and controls
29 lines (25 loc) · 1.11 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
name = "weather-chat"
main = "index.js"
compatibility_date = "2026-05-28"
compatibility_flags = ["nodejs_compat"]
[observability]
enabled = false
[vars]
NWS_USER_AGENT = "WeatherChatBot/1.0 (contact@example.com)"
MODEL = "accounts/fireworks/routers/glm-5p2-fast"
DEFAULT_LAT = "33.21"
DEFAULT_LON = "-86.65"
DEFAULT_OFFICE = "BMX"
DEFAULT_LOCATION_NAME = "Shelby County, Alabama"
# Optional inference tuning (all have sensible defaults if unset):
# REASONING_EFFORT — GLM 5.2 reasoning depth: "low" (fastest), "medium", or
# "high" (most thorough). Omit to use the model default.
# MAX_TOKENS — max output tokens per turn (default 8192).
# SUMMARY_MODEL — model used for the at-a-glance home-screen forecast line
# (/api/summary). Defaults to MODEL. Set a cheaper/faster model here to
# decouple the one-liner from the main chat model.
# FIREWORKS_API_KEY is a required secret (inference provider). Set it with:
# wrangler secret put FIREWORKS_API_KEY
# AIRNOW_API_KEY is a secret. Set it with:
# wrangler secret put AIRNOW_API_KEY
# (without it, get_air_quality returns a helpful "not configured" message.)