-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (46 loc) · 2.21 KB
/
Copy path.env.example
File metadata and controls
57 lines (46 loc) · 2.21 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
# Rowan configuration. Copy to .env and adjust.
# A .env file in the working directory is loaded automatically at startup
# (by `make run` and by the binary itself); real environment variables override it.
# Local-first defaults require no cloud account.
# --- Server ---
ROWAN_APP_ENV=development # development | production
ROWAN_LISTEN_ADDR=:6789 # HTTP/WS listen address
ROWAN_WS_ENABLED=true # enable the /voice-agent and /chat-agent WebSocket endpoints
# TLS for WSS (optional — leave blank for plain HTTP/WS)
ROWAN_WSS_CERT_FILE=
ROWAN_WSS_KEY_FILE=
# Optional bearer token to protect /metrics (leave blank to expose openly)
ROWAN_METRICS_TOKEN=
# --- Agent profile ---
ROWAN_PROFILE_FILE=./examples/agent.yaml
ROWAN_DEFAULT_LANGUAGE=en-US
# --- Dialog limits ---
ROWAN_MAX_TURNS=30 # max dialog turns per session
ROWAN_MAX_CONCURRENT_CALLS=10 # max simultaneous voice WebSocket sessions
ROWAN_WS_SILENCE_TIMEOUT=30 # seconds of voice silence before warning/hang-up (0 = off)
ROWAN_TEXT_IDLE_TIMEOUT=600 # seconds of text inactivity before ending session (0 = off)
ROWAN_MAX_CALL_DURATION=15 # hard cap on session length in minutes (0 = off)
# Voice queue (when all concurrent slots are busy)
ROWAN_WS_QUEUE_ENABLED=false
ROWAN_WS_QUEUE_MAX_SIZE=10
ROWAN_WS_QUEUE_MAX_WAIT=300
ROWAN_WS_QUEUE_HOLD_INTERVAL=30
# --- Backend selection (local-first defaults) ---
ROWAN_LLM_BACKEND=ollama # ollama | google
ROWAN_ASR_BACKEND=whisper # whisper | google
ROWAN_TTS_BACKEND=local # local | google
# Ollama (local LLM)
ROWAN_OLLAMA_BASE_URL=http://localhost:11434
ROWAN_OLLAMA_MODEL=llama3.1
# Whisper (local ASR, OpenAI-compatible transcription API)
ROWAN_WHISPER_BASE_URL=http://localhost:8080
ROWAN_WHISPER_MODEL=whisper-1
ROWAN_WHISPER_SAMPLE_RATE=16000
# Local TTS (OpenAI-compatible speech API — Kokoro, LocalAI, etc.)
ROWAN_LOCAL_TTS_BASE_URL=http://localhost:8880
ROWAN_LOCAL_TTS_MODEL=kokoro
# --- Google Cloud (optional — only used when a backend above is set to "google") ---
# ROWAN_GOOGLE_PROJECT_ID=
# ROWAN_GOOGLE_REGION=europe-west1
# ROWAN_GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json
# ROWAN_GOOGLE_GENAI_API_KEY=