name = "blackroad-agent-email" main = "src/index.js" compatibility_date = "2024-12-01" account_id = "848cf0b18d51e0170e0d1537aec3505a" # Routes — handle all agent email addresses + HTTP API [[routes]] pattern = "agents.blackroad.io/*" zone_name = "blackroad.io" [[routes]] pattern = "hello.blackroad.io/*" zone_name = "blackroad.io" [vars] # Public Cloudflare tunnel endpoint for the BlackRoad gateway/Ollama GATEWAY_URL = "https://agent.blackroad.ai" # Fallback direct Ollama endpoint (via tunnel) OLLAMA_URL = "https://agent.blackroad.ai" # Default model DEFAULT_MODEL = "tinyllama" # Forward all agent replies to this address FORWARD_TO = "alexa@blackroad.io" # Secret — set via: wrangler secret put GATEWAY_SECRET # [secrets] # GATEWAY_SECRET = "..."