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
19 lines
726 B
Plaintext
19 lines
726 B
Plaintext
# Provider: openai (default) or dashscope/qwen/bailian
|
||
LLM_PROVIDER=openai
|
||
|
||
# 复制为 .env 后填入你的 OpenAI API Key
|
||
OPENAI_API_KEY=your-openai-api-key
|
||
|
||
# Alibaba Cloud Model Studio / Bailian (Qwen)
|
||
# DASHSCOPE_API_KEY=your-dashscope-api-key
|
||
# DASHSCOPE_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1
|
||
|
||
# 可选:覆盖默认模型(默认 gpt-5.6-luna)
|
||
# OPENAI_MODEL=gpt-5.6-luna
|
||
|
||
# OpenRouter 通用回退(可选):若未设置 OPENAI_API_KEY 但设置了 OPENROUTER_API_KEY,
|
||
# 则聊天 LLM 会自动路由到 OpenRouter(gpt-5.6-luna -> openai/gpt-5.6-luna;
|
||
# 可用 OPENROUTER_MODEL 覆盖)。
|
||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||
# OPENROUTER_MODEL=openai/gpt-5.6-luna
|