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
17 lines
660 B
Plaintext
17 lines
660 B
Plaintext
# 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
|