22 Commits

Author SHA1 Message Date
repair-agent
51a673e814 Add story music
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 6m7s
2026-03-04 13:11:10 +08:00
repair-agent
134ccb70f3 fix 音频并发优化
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 5m41s
2026-03-03 17:21:46 +08:00
repair-agent
a3222d1fe5 压测工具
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 4m14s
2026-03-03 16:22:16 +08:00
repair-agent
a546b1aefa fix: auto repair bugs #19 2026-03-02 17:33:56 +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
4736f63040 fix diff
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 2m37s
2026-02-28 14:34:19 +08:00
repair-agent
9ac26a5f11 fix: auto repair bugs #52 2026-02-27 16:38:50 +08:00
repair-agent
37f4481930 fix: auto repair bugs #47, #46, #45, #44, #43, #42 2026-02-25 16:33:16 +08:00
repair-agent
bd684476c7 fix: auto repair bugs #32
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 4m19s
2026-02-25 13:35:35 +08:00
repair-agent
d421677518 fix: auto repair bugs #30
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 2m33s
2026-02-24 17:02:41 +08:00
repair-agent
7a6a519fbe fix: auto repair bugs #26, #25, #24
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 3m13s
2026-02-24 16:19:40 +08:00
repair-agent
c584df814f fix(stories): fix shelf deletion IntegrityError with transaction.atomic
Some checks failed
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
ee7f3ffea3 add message
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Failing after 1m3s
2026-02-14 13:23:16 +08:00
repair-agent
f1bead86f6 fix music
Some checks failed
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
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Failing after 57s
2026-02-12 14:05:51 +08:00
repair-agent
bc28ef00f1 add phone login
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Failing after 59s
2026-02-09 18:24:58 +08:00
repair-agent
88b8f023f4 Fix app api
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Failing after 1m36s
2026-02-09 15:35:33 +08:00
zyc
3a8df43de7 fix bug 2026-01-29 10:41:26 +08:00
zyc
c0deacd79c first commit 2026-01-29 10:02:15 +08:00