更新 VLM 为阿里云百炼 Bailian

核心变更:
- src/vlm/qwen_vl.py: 重写为 BailianVLMClient(阿里云百炼)
  - 支持 qwen-vl-latest 等模型
  - analyze_chat_screenshot() 微信截图分析
  - 使用 OpenAI 兼容 API 格式
- config/settings.py: 更新默认配置为阿里云百炼
- src/main.py: 添加 BailianLLMClient(阿里云百炼 LLM)
- requirements.txt: 添加 openai 依赖
- README.md: 更新文档

API 配置:
- 基础 URL: https://dashscope.aliyuncs.com/compatible-mode/v1
- VLM 模型: qwen-vl-latest(推荐)
- LLM 模型: qwen-plus
This commit is contained in:
2026-04-13 11:34:36 +08:00
parent eb19d8d05f
commit 4e5bd2a5c7
8 changed files with 456 additions and 105 deletions

View File

@@ -8,14 +8,13 @@ pywin32>=305
requests>=2.28.0
urllib3>=1.26.0
# 阿里云百炼 / OpenAI 兼容 API
openai>=1.0.0
# 数据处理
pyyaml>=6.0
pillow>=9.0.0
# 异步(可选)
# asyncio
# aiohttp>=3.8.0
# 日志
# coloredlogs>=15.0 # 可选