-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrangler.toml
More file actions
70 lines (55 loc) · 1.55 KB
/
wrangler.toml
File metadata and controls
70 lines (55 loc) · 1.55 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name = "chittyintel"
main = "src/index.js"
compatibility_date = "2024-01-01"
compatibility_flags = ["nodejs_compat"]
account_id = "0bc21e3a5a9de1a4cc843be9c3e98121"
# Production route
routes = [
{ pattern = "intel.chitty.cc/*", zone_name = "chitty.cc" }
]
# KV Namespaces
[[kv_namespaces]]
binding = "INTEL_CACHE"
id = "924aa5a8fd9c4157b8865faddfd97312"
[[kv_namespaces]]
binding = "PATTERN_STORE"
id = "b87d842c629d432482c9562b14f471e8"
# Vectorize for semantic search
[[vectorize]]
binding = "INTEL_VECTORIZE"
index_name = "intel-embeddings"
# AI binding
[ai]
binding = "AI"
# Environment variables
[vars]
CHITTYOS_DOMAIN = "chitty.cc"
SERVICE_NAME = "chittyintel"
API_VERSION = "v1"
# Secrets (set via wrangler secret put)
# NEON_DATABASE_URL
# CHITTYCONNECT_SERVICE_TOKEN # Single token for all ChittyConnect communication
# ANTHROPIC_API_KEY
[env.staging]
main = "src/index.js"
compatibility_date = "2024-01-01"
compatibility_flags = ["nodejs_compat"]
# No custom routes in staging by default; use wrangler dev or preview urls
[[env.staging.kv_namespaces]]
binding = "INTEL_CACHE"
id = "${STAGING_INTEL_CACHE_KV:-00000000000000000000000000000000}"
[[env.staging.kv_namespaces]]
binding = "PATTERN_STORE"
id = "${STAGING_PATTERN_STORE_KV:-00000000000000000000000000000000}"
[[env.staging.vectorize]]
binding = "INTEL_VECTORIZE"
index_name = "intel-embeddings-staging"
[env.staging.ai]
binding = "AI"
[env.staging.vars]
CHITTYOS_DOMAIN = "chitty.cc"
SERVICE_NAME = "chittyintel"
API_VERSION = "v1"
# ChittyTrack observability
[[tail_consumers]]
service = "chittytrack"