You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.7 KiB
47 lines
1.7 KiB
# --- Secrets (required) ---
|
|
|
|
# OpenAI API key used server-side only (never sent to the browser).
|
|
OPENAI_API_KEY=
|
|
|
|
# Secret used to sign short-lived browser session tokens for the realtime WS handshake.
|
|
# Generate one with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
|
|
REALTIME_TOKEN_SECRET=
|
|
|
|
# --- Server ---
|
|
|
|
# HTTP port the production server (server.js) listens on.
|
|
# PORT=3000
|
|
|
|
# --- Analytics (see docs/ANALYTICS.md and docs/CONFIGURATION.md) ---
|
|
|
|
# Master switch. Set to false to disable analytics recording entirely — no
|
|
# data/analytics.db file is created at all.
|
|
# ANALYTICS_ENABLED=true
|
|
|
|
# Where the local SQLite analytics db lives.
|
|
# ANALYTICS_DB_PATH=./data/analytics.db
|
|
|
|
# Per-category toggles, independent of ANALYTICS_ENABLED and each other.
|
|
# Set any of these to false to stop recording that category's data while
|
|
# still recording session start/end (model, voice, timing) — that volume
|
|
# signal is always recorded whenever analytics is enabled at all.
|
|
# ANALYTICS_LOG_MESSAGES=true # conversation text (both roles)
|
|
# ANALYTICS_LOG_TOOL_CALLS=true # tool call arguments/output
|
|
# ANALYTICS_LOG_EVENTS=true # errors and session.closed detail
|
|
|
|
# --- Session ---
|
|
|
|
# Overrides the model configured in src/lib/project/persona.ts. Leave unset
|
|
# to use that file's default.
|
|
# SESSION_MODEL=
|
|
|
|
# Voice used when the browser's session.start doesn't specify one. Leave
|
|
# unset to let the provider pick its own default.
|
|
# SESSION_DEFAULT_VOICE=
|
|
|
|
# How long a client-executed tool call may go unanswered before the session
|
|
# gives up on it and resolves it with an error.
|
|
# CLIENT_TOOL_TIMEOUT_MS=10000
|
|
|
|
# TTL for the short-lived token minted by POST /api/realtime/session.
|
|
# REALTIME_TOKEN_TTL_MS=60000
|
|
|