-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Expand file tree
/
Copy pathwrangler.toml
More file actions
48 lines (33 loc) · 1.23 KB
/
wrangler.toml
File metadata and controls
48 lines (33 loc) · 1.23 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
# elizaOS Cloudflare Worker Configuration
# See https://developers.cloudflare.com/workers/wrangler/configuration/
name = "elizaos-worker"
main = "src/worker.ts"
compatibility_date = "2026-04-01"
compatibility_flags = ["nodejs_compat"]
# Development settings
[dev]
port = 8787
local_protocol = "http"
# Environment variables (set via wrangler secret or dashboard)
# These are examples - actual secrets should be set via:
# wrangler secret put OPENAI_API_KEY
[vars]
CHARACTER_NAME = "Eliza"
CHARACTER_BIO = "A helpful AI assistant powered by elizaOS, running on Cloudflare Workers."
CHARACTER_SYSTEM = "You are Eliza, a helpful AI assistant. You are friendly, knowledgeable, and always eager to help users with their questions."
OPENAI_MODEL = "gpt-5-mini"
# OPENAI_BASE_URL = "https://api.openai.com/v1" # Optional, defaults to OpenAI
# Production environment
[env.production]
name = "elizaos-worker-prod"
[env.production.vars]
CHARACTER_NAME = "Eliza"
CHARACTER_BIO = "A helpful AI assistant powered by elizaOS."
OPENAI_MODEL = "gpt-5"
# Staging environment
[env.staging]
name = "elizaos-worker-staging"
[env.staging.vars]
CHARACTER_NAME = "Eliza-Staging"
CHARACTER_BIO = "A staging AI assistant for testing."
OPENAI_MODEL = "gpt-5-mini"