✅ qwen-turbo - 快速响应
✅ qwen-plus-latest - 平衡性能
✅ qwen-max - 最强性能
✅ deepseek-chat - 最新V3模型
✅ gemini-2.0-flash - 推荐使用
✅ gemini-1.5-pro - 强大性能
✅ gemini-1.5-flash - 快速响应
📂 OpenAI类别
✅ o4-mini-high - 最新o4系列
✅ o3-pro - 最新推理专业版
✅ o1-pro - 专业推理
✅ gpt-4o - 旗舰模型
📂 Anthropic类别
✅ claude-opus-4 - 顶级性能
✅ claude-sonnet-4 - 平衡版本
✅ claude-3.5-sonnet - 经典版本
📂 Meta类别
✅ llama-4-maverick - 最新Llama 4
✅ llama-4-scout - Llama 4变体
✅ llama-3.3-70b - 高性能版本
📂 Google类别
✅ gemini-2.5-pro - 多模态专业版
✅ gemini-2.5-flash - 快速版本
📂 自定义模型
✅ 支持任意OpenRouter模型ID
✅ 5个快速选择按钮
web/utils/persistence.py
: 模型选择持久化管理器st.query_params
的可靠方案选择至少一个LLM提供商并获取API密钥:
# 推荐选择 (国产,性价比高)
DeepSeek V3: https://platform.deepseek.com/
DashScope: https://dashscope.aliyun.com/
# 国际选择 (功能强大)
OpenRouter: https://openrouter.ai/
Google AI: https://ai.google.dev/
# 复制配置模板
cp .env.example .env
# 编辑配置文件,填入API密钥
# 至少配置一个LLM提供商的API密钥
# 安装依赖
pip install -r requirements.txt
# 启动Web界面
streamlit run web/app.py
1. 选择 DashScope → qwen-max
2. 刷新页面 (F5)
3. ✅ 验证选择保持为 qwen-max
1. 选择 OpenRouter → Anthropic → claude-opus-4
2. 刷新页面 (F5)
3. ✅ 验证选择保持为 claude-opus-4
4. ✅ 检查URL包含正确参数
1. 选择 OpenRouter → Custom
2. 点击 "💎 Claude 4 Opus" 按钮
3. 刷新页面 (F5)
4. ✅ 验证模型为 anthropic/claude-opus-4
# 1. 备份当前配置
cp .env .env.backup
# 2. 拉取最新代码
git pull origin main
# 3. 检查新的配置选项
diff .env.example .env
# 4. 重新启动应用
streamlit run web/app.py
v0.1.11 完全兼容 v0.1.10 的配置,无需额外迁移步骤。
新增的可选配置:
# 新增 - DeepSeek V3 (推荐)
DEEPSEEK_API_KEY=your_deepseek_api_key_here
# 新增 - OpenRouter (60+模型)
OPENROUTER_API_KEY=your_openrouter_api_key_here
# 新增 - Google AI
GOOGLE_API_KEY=your_google_api_key_here
感谢所有用户的宝贵反馈和建议!特别感谢:
您的反馈是我们持续改进的动力!
🔗 相关链接
🎉 立即体验 v0.1.11 的强大功能!