repair-agent
134ccb70f3
fix 音频并发优化
Build and Deploy Backend / build-and-deploy (push) Successful in 5m41s
2026-03-03 17:21:46 +08:00
repair-agent
861bad22ab
feat: 新增 generate_default_covers 管理命令
...
用 LLM 从故事内容提炼 ≤50 字画面描述,调用 Seedream 4.5 生成
2560x1440 横版封面,覆盖上传到 OSS 固定路径,自动更新所有用户。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 15:45:49 +08:00
repair-agent
8f9f7824cd
feat: 封面图提示词改为用 LLM 从故事内容提炼 ≤50 字画面描述
...
新增 _extract_image_description:调用豆包 LLM 提取故事的主体、
场景与核心事件,串联成一幅画的描述(≤50字),再拼接风格前缀后
送入 Seedream 4.5 文生图模型,生成更贴合故事内容的封面。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 15:42:56 +08:00
repair-agent
cbfe747553
feat: 故事生成时自动用豆包 Seedream 4.5 文生图模型生成封面
...
- llm_service: 添加 _generate_and_upload_cover,调用 doubao-seedream-4-5-251128
生成 1920x1920 儿童绘本风格封面,下载后上传至 OSS,URL 随 done 事件返回
- SSE 新增 cover 阶段(progress=90),非致命异常不影响故事主流程
- settings: LLM_CONFIG 新增 IMAGE_MODEL_NAME / IMAGE_SIZE,可通过环境变量覆盖
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 15:32:54 +08:00
repair-agent
487b258bbe
feat: 添加默认故事功能及修复故事模块依赖
...
- Story 模型新增 is_default 字段及迁移 0004
- 新增 utils.py:ensure_default_stories 懒初始化默认故事(含视频绘本)
- StoryViewSet/ShelfViewSet list 接口调用 ensure_default_stories
- 新增 upload_default_story_media 管理命令,上传视频/封面到 OSS
- 安装缺失依赖:edge-tts 7.2.7、volcengine-python-sdk[ark] 5.0.12
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-02 15:16:38 +08:00
repair-agent
c584df814f
fix(stories): fix shelf deletion IntegrityError with transaction.atomic
...
Build and Deploy Backend / build-and-deploy (push) Failing after 3m32s
Wrap shelf deletion in transaction.atomic to handle cases where
stories cannot be unlinked from shelf due to database constraints.
Falls back to deleting stories if update fails.
Fixes: Log Center Bug #13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:00:25 +08:00
repair-agent
f1bead86f6
fix music
Build and Deploy Backend / build-and-deploy (push) Failing after 56s
2026-02-12 17:35:54 +08:00
repair-agent
7a6d7814e0
fix store bug
Build and Deploy Backend / build-and-deploy (push) Failing after 57s
2026-02-12 14:05:51 +08:00
repair-agent
88b8f023f4
Fix app api
Build and Deploy Backend / build-and-deploy (push) Failing after 1m36s
2026-02-09 15:35:33 +08:00