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,24 @@
|
||||
# Multimodal Agent Configuration
|
||||
# Copy this file to .env and fill in your API keys
|
||||
|
||||
# Google Gemini API (GEMINI_API_KEY 亦可,两者都会被读取)
|
||||
GOOGLE_API_KEY=your_gemini_api_key_here
|
||||
|
||||
# OpenAI API (for GPT-4o / GPT-5 vision and Whisper)
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
|
||||
# Doubao API (ByteDance/Volcano Engine; ARK_API_KEY 亦可)
|
||||
DOUBAO_API_KEY=your_doubao_api_key_here
|
||||
|
||||
# Optional: Mistral API for OCR
|
||||
MISTRAL_API_KEY=your_mistral_api_key_here
|
||||
|
||||
# OpenRouter universal fallback (optional): if the selected model's own
|
||||
# provider key (Gemini/OpenAI/Doubao) is missing but OPENROUTER_API_KEY is set,
|
||||
# that model is routed through OpenRouter's OpenAI-compatible endpoint.
|
||||
# Model names are mapped automatically (gemini-3.5-flash -> google/gemini-3.5-flash,
|
||||
# gpt-5.6-luna -> openai/gpt-5.6-luna; vision-capable default openai/gpt-5.6-luna).
|
||||
# Note: audio transcription (Whisper) and native-PDF extraction still need a
|
||||
# direct OpenAI/Gemini key. Set OPENROUTER_MODEL to force a specific model id.
|
||||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
# OPENROUTER_MODEL=openai/gpt-5.6-luna
|
||||
Reference in New Issue
Block a user