Files
ai-agent-book/chapter1/web-search-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

17 lines
660 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Kimi API 配置
# 从 https://platform.moonshot.cn/ 获取您的 API Key
MOONSHOT_API_KEY=your-api-key-here
# 可选配置
# KIMI_BASE_URL=https://api.moonshot.cn/v1
# DEFAULT_MODEL=kimi-k3
# MAX_SEARCH_ITERATIONS=5
# SEARCH_TIMEOUT=30
# 通用兜底:当 MOONSHOT_API_KEY 缺失时,若设置了 OPENROUTER_API_KEY
# 请求会自动改走 OpenRouter。注意:Kimi 内置 $web_search 工具在 OpenRouter
# 上不可用,此兜底模式下模型仅凭自身知识作答(无实时联网搜索),
# 且使用 OPENROUTER_MODEL(默认 openai/gpt-5.6-luna)。
# OPENROUTER_API_KEY=your-openrouter-api-key
# OPENROUTER_MODEL=openai/gpt-5.6-luna