- 重写 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
55 lines
952 B
Plaintext
55 lines
952 B
Plaintext
# 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 |