ai-agent-book 精选快照(<2MB 代码与文档,来自 github.com/bojieli/ai-agent-book)
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
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
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# LLM Provider API Keys (set the one you're using)
|
||||
MOONSHOT_API_KEY=your_kimi_api_key_here
|
||||
ARK_API_KEY=your_doubao_api_key_here
|
||||
# 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
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
# OpenRouter: usable as an explicit LLM_PROVIDER, and also a universal fallback
|
||||
# — if the configured provider's key is missing but OPENROUTER_API_KEY is set,
|
||||
# the agent auto-routes through OpenRouter (provider-native model names mapped
|
||||
# automatically; set OPENROUTER_MODEL to override).
|
||||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
GROQ_API_KEY=your_groq_api_key_here
|
||||
TOGETHER_API_KEY=your_together_api_key_here
|
||||
DEEPSEEK_API_KEY=your_deepseek_api_key_here
|
||||
|
||||
# Knowledge Base Configuration
|
||||
KB_TYPE=local # Options: offline (内置离线 BM25,无需服务/API), local, dify
|
||||
DIFY_API_KEY=your_dify_api_key_here # Required if KB_TYPE=dify
|
||||
DIFY_DATASET_ID=your_dataset_id_here # Optional, for specific Dify dataset
|
||||
|
||||
# LLM Configuration
|
||||
LLM_PROVIDER=kimi # Options include dashscope/qwen/bailian, kimi, doubao, siliconflow, openai, openrouter, groq, together, deepseek
|
||||
# LLM_MODEL=kimi-k3 # Optional, uses provider defaults if not set (kimi-k3 是推理模型:temperature 固定为 1、max_tokens 自动抬到 ≥4096)
|
||||
Reference in New Issue
Block a user