Files
baji-vc/gateway/env.example
T

28 lines
1.6 KiB
Plaintext

# Copy to a private environment file outside Git; replace placeholders locally.
LAN_GATEWAY_TOKEN=REPLACE_WITH_RANDOM_SECRET_AT_LEAST_32_CHARS
LAN_OPEN_MODE=1
LAN_GUEST_ENABLED=1
# The optional independent VAD service also needs its own secret.
LAN_VAD_TOKEN=REPLACE_WITH_A_DIFFERENT_RANDOM_SECRET_AT_LEAST_32_CHARS
# Optional provider settings; absence keeps the existing local Qwen defaults.
LAN_LLM_BASE_URL=http://127.0.0.1:8888/v1
LAN_LLM_MODEL=qwen3.8-27b
LAN_LLM_CHAT_TEMPLATE_KWARGS={"enable_thinking":false}
# Optional: prompt or json_schema. Unset enables schema ONLY for the verified
# exact local URL/model/thinking=false tuple above; all other providers use prompt.
# LAN_LLM_STRUCTURED_OUTPUT=json_schema
# Set API keys only in a private environment file. Do not commit them.
# LAN_LLM_API_KEY=REPLACE_WITH_PRIVATE_PROVIDER_KEY
# Doubao through existing LiteLLM: base http://192.168.31.53:4000/v1,
# model alias doubao-seed-2-1-pro, kwargs {}, LAN_LLM_STRUCTURED_OUTPUT=prompt.
# Reset this mode when switching providers; Doubao schema support is unverified.
# Alias does not identify actual weights.
# Gateway0.7.3 keeps this provider/schema contract and the160-token dialogue budget;
# camera/frame diagnostics do not add a model or inference retry.
# Request-local clock; never infer zone from host locale or client clock.
LAN_LLM_TIME_ZONE=Asia/Shanghai
# Prefix prepare is preload only; defaults on only for the probed exact local schema tuple.
# LAN_LLM_EXPRESSION_PREPARE=0
# Empty by default. Pi must pin independently reviewed manifest hashes and both actual durations.
# LAN_ACTION_PACKS={}