MicroFish/.env.example

24 lines
1.2 KiB
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.

# ===== OpenRouter 配置(后备 LLM未设置 LLM_API_KEY 时自动使用)=====
# OpenRouter 聚合了数百种模型注册获取API Keyhttps://openrouter.ai/
OPENROUTER_API_KEY=sk-or-v1-your_openrouter_key_here
OPENROUTER_MODEL_NAME=anthropic/claude-sonnet-4
# OPENROUTER_BASE_URL=https://openrouter.ai/api/v1 # 默认值,一般无需修改
# OPENROUTER_REFERER=https://github.com/MiroFish # 默认值,一般无需修改
# OPENROUTER_TITLE=MiroFish # 默认值,一般无需修改
# ===== LLM API 配置(可选,优先级高于 OpenRouter=====
# 支持 OpenAI SDK 格式的任意 LLM API如阿里百炼平台
# 如果设置了以下配置,将覆盖 OpenRouter 配置
# LLM_API_KEY=your_api_key_here
# LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
# LLM_MODEL_NAME=qwen-plus
# ===== ZEP记忆图谱配置 =====
# 每月免费额度即可支撑简单使用https://app.getzep.com/
ZEP_API_KEY=your_zep_api_key_here
# ===== 加速 LLM 配置(可选)=====
# 注意如果不使用加速配置env文件中就不要出现下面的配置项
LLM_BOOST_API_KEY=your_api_key_here
LLM_BOOST_BASE_URL=your_base_url_here
LLM_BOOST_MODEL_NAME=your_model_name_here