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,29 @@
|
||||
# LLM provider: kimi (default), dashscope/qwen/bailian, or openrouter
|
||||
LLM_PROVIDER=kimi
|
||||
|
||||
# Kimi API Configuration
|
||||
MOONSHOT_API_KEY=your_moonshot_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
|
||||
|
||||
# 通用回退:未设置 MOONSHOT_API_KEY 时,若配置了 OPENROUTER_API_KEY,则自动改走
|
||||
# OpenRouter(kimi-* 会映射为 moonshotai/kimi-k2)。
|
||||
# OPENROUTER_API_KEY=your-openrouter-api-key
|
||||
|
||||
# Search API Configuration (using Serper API - free tier available)
|
||||
SERPER_API_KEY=your_serper_api_key_here
|
||||
|
||||
# Model Configuration
|
||||
MODEL_NAME=kimi-k3
|
||||
MODEL_TEMPERATURE=0.3
|
||||
MODEL_MAX_TOKENS=8192
|
||||
|
||||
# Agent Configuration
|
||||
MAX_ITERATIONS=15
|
||||
ENABLE_VERBOSE=false
|
||||
|
||||
# Compression Configuration
|
||||
MAX_WEBPAGE_LENGTH=50000
|
||||
SUMMARY_MAX_TOKENS=500
|
||||
Reference in New Issue
Block a user