Files
ai-agent-book/chapter6/phone-agent/env.example
T
liqiang b119135836
Build latest book artifacts / build (push) Canceled after 0s
dependency resolution / resolve (3.11) (push) Canceled after 0s
dependency resolution / resolve (3.13) (push) Canceled after 0s
deploy-pages / build (push) Canceled after 0s
deploy-pages / deploy (push) Canceled after 0s
i18n consistency check / check (push) Canceled after 0s
provider adoption tests / test (chapter2/context-compression) (push) Canceled after 0s
provider adoption tests / test (chapter2/prompt-injection) (push) Canceled after 0s
provider adoption tests / test (chapter2/system-hint) (push) Canceled after 0s
provider adoption tests / test (chapter3/log-sanitization) (push) Canceled after 0s
web-search-agent tests / test (push) Canceled after 0s
web-search-agent tests / agentbook (push) Canceled after 0s
ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
2026-08-20 13:12:50 +00:00

29 lines
1.1 KiB
Plaintext

# Canonical external LLM provider. Credentials remain in the local server
# process and are redacted before any request/response receipt is retained.
ARK_API_KEY=your_ark_api_key
PHONE_MODEL_PROVIDER=ark
ARK_BASE_URL=https://ark.cn-beijing.volces.com/api/v3
PHONE_PLANNER_MODEL=doubao-seed-1-6-flash-250615
PHONE_DIALOGUE_MODEL=doubao-seed-1-6-flash-250615
# Explicit alternatives; there is no automatic provider fallback.
# PHONE_MODEL_PROVIDER=openai
# OPENAI_API_KEY=your_openai_api_key
# PHONE_PLANNER_MODEL=gpt-4.1-mini
# PHONE_DIALOGUE_MODEL=gpt-4.1-mini
# PHONE_MODEL_PROVIDER=openrouter
# OPENROUTER_API_KEY=your_openrouter_api_key
# PHONE_PLANNER_MODEL=openai/gpt-4.1-mini
# PHONE_DIALOGUE_MODEL=openai/gpt-4.1-mini
# Local speech runtime. openai-whisper and torch are locked in the ch9 extra.
WHISPER_MODEL=tiny
# WHISPER_PYTHON=/absolute/path/to/python
PHONE_TTS_ENGINE=auto
# PHONE_TTS_VOICE=Samantha
# These are set only by run_acceptance.py. Do not enable media retention for
# real/private participant speech.
# PHONE_SAFE_SYNTHETIC_ACCEPTANCE=1
# PHONE_EVIDENCE_DIR=/absolute/path/to/safe-evidence-directory