Files
life-echo/api/requirements.txt
Kevin 0970cb7408 fix: 修复 Liblib provider 认证和多个图片生成关键缺陷
- 重写 LiblibImageProvider:Bearer token 改为 HMAC-SHA1 签名认证,
  适配 Liblib 真实 API(Star-3 Alpha 文生图端点)
- 修复 chapter.images JSON 列原地修改不持久化(深拷贝+整列重赋值)
- 修复 generate_chapter_images 在事务提交前派发(改为 commit 后统一 delay)
- 修复 initialize_chapter_images 覆盖已完成图片(新增 merge 去重逻辑)
- 修复 Android failed 图片渲染为错误卡片(改为隐藏,保持正文连续)
- 模型模板 UUID 改为环境变量配置(LIBLIB_TEMPLATE_UUID)
- 更新 .env 凭证格式为 ACCESS_KEY/SECRET_KEY
- 补充 test_memoir_image_bootstrap 缺失的 unittest.mock 导入

Made-with: Cursor
2026-03-10 17:02:50 +08:00

55 lines
952 B
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.
# FastAPI and Web Server
fastapi==0.115.0
uvicorn[standard]==0.32.0
websockets==14.1
python-multipart==0.0.19
# LangChain and AI
langchain==0.3.7
langchain-openai==0.2.0
# Database
sqlalchemy==2.0.36
greenlet>=3.3.0
# PostgreSQL drivers
asyncpg>=0.29.0
psycopg[binary]>=3.1.0
# Redis for session storage
redis>=5.0.0
aioredis>=2.0.0
# Celery for background tasks
celery[redis]>=5.3.0
# PDF Generation
reportlab==4.2.2
weasyprint==62.3
# Utilities
pydantic==2.9.2
pydantic-settings==2.5.2
python-dotenv==1.0.1
httpx==0.27.0
# Authentication
python-jose[cryptography]==3.3.0
bcrypt>=4.0.0
# Audio Processing - Local Whisper ASR
faster-whisper>=1.0.0
# Image Processing
Pillow>=10.0.0
# Tencent Cloud SDK全量包包含 SMS、ASR 语音识别等模块)
tencentcloud-sdk-python>=3.0.1000
openai
# Tencent COS for memoir image storage
cos-python-sdk-v5>=1.9.40
# Payment - WeChat Pay & Alipay
wechatpayv3>=0.3.0
python-alipay-sdk>=3.0.0