图片搜索功能(以图搜图): - Chatwoot webhook 检测图片搜索消息 (content_type="search_image") - 从 content_attributes.url 提取图片 URL - 调用 Mall API 图片搜索接口 (/mall/api/spu?searchImageUrl=...) - 支持嵌套和顶层 URL 位置提取 - Product Agent 添加 fast path 直接调用图片搜索工具 - 防止无限循环(使用后清除 context.image_search_url) Qwen 模型支持: - 添加 LLM provider 选择(zhipu/qwen) - 实现 QwenLLMClient 类(基于 DashScope SDK) - 添加 dashscope>=1.14.0 依赖 - 修复 API key 设置(直接设置 dashscope.api_key) - 更新 .env.example 和 docker-compose.yml 配置 其他优化: - 重构 Chatwoot 集成代码(删除冗余) - 优化 Product Agent prompt - 增强 Customer Service Agent 多语言支持 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
47 lines
594 B
Plaintext
47 lines
594 B
Plaintext
# Web Framework
|
|
fastapi>=0.109.0
|
|
uvicorn[standard]>=0.27.0
|
|
|
|
# LangGraph & LangChain
|
|
langgraph>=0.0.40
|
|
langchain>=0.1.0
|
|
langchain-core>=0.1.0
|
|
|
|
# AI Model SDK
|
|
zhipuai>=2.0.0
|
|
dashscope>=1.14.0
|
|
# Async utilities
|
|
sniffio>=1.3.0
|
|
anyio>=4.0.0
|
|
|
|
# HTTP Client
|
|
httpx>=0.26.0
|
|
aiohttp>=3.9.0
|
|
|
|
# Data Validation
|
|
pydantic>=2.5.0
|
|
pydantic-settings>=2.1.0
|
|
|
|
# Redis
|
|
redis>=5.0.0
|
|
|
|
# Environment & Config
|
|
python-dotenv>=1.0.0
|
|
|
|
# Logging
|
|
structlog>=24.1.0
|
|
|
|
# Testing
|
|
pytest>=7.4.0
|
|
pytest-asyncio>=0.23.0
|
|
pytest-cov>=4.1.0
|
|
|
|
# MCP Client
|
|
mcp>=1.0.0
|
|
|
|
# Language Detection
|
|
langdetect>=1.0.9
|
|
|
|
# YAML Config
|
|
pyyaml>=6.0
|