Files
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

27 lines
953 B
Plaintext

# LLM Provider API Keys
# At least one of these is required
# OpenAI (for embeddings, required for dense/hybrid search)
OPENAI_API_KEY=your_openai_api_key_here
# Kimi/Moonshot (default LLM provider)
KIMI_API_KEY=your_kimi_api_key_here
# Alternative providers
# Alibaba Cloud Model Studio / Bailian (Qwen)
DASHSCOPE_API_KEY=your_dashscope_api_key_here
# DASHSCOPE_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1
SILICONFLOW_API_KEY=your_siliconflow_api_key_here
DOUBAO_API_KEY=your_doubao_api_key_here
# OpenRouter: usable as an explicit provider, and also a universal fallback —
# if the configured provider's key is missing but OPENROUTER_API_KEY is set,
# the system auto-routes through OpenRouter (model names mapped automatically;
# set OPENROUTER_MODEL to override).
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Configuration overrides (optional)
LLM_PROVIDER=kimi
LLM_MODEL=kimi-k3
ROUNDS_PER_CHUNK=20
INDEX_MODE=hybrid