Skip to content

fix: createSlides 请求体添加顶层 mode 参数#6

Open
0xFANGO wants to merge 3 commits intomainfrom
ralph/listenhub-sdk--45
Open

fix: createSlides 请求体添加顶层 mode 参数#6
0xFANGO wants to merge 3 commits intomainfrom
ralph/listenhub-sdk--45

Conversation

@0xFANGO
Copy link
Copy Markdown
Collaborator

@0xFANGO 0xFANGO commented Apr 8, 2026

Summary

  • createSlides() 请求体缺少顶层 mode: 'slides' 字段,导致后端走 explainer video 路径
  • 注入 mode: 'slides' 到请求体,与前端 apiCreateStorybook() 调用对齐

Test plan

  • Lint 通过
  • 42 个单元测试全部通过
  • Staging 环境验证 slides create 产出物为 slide deck 而非 explainer video

Part of marswaveai/listenhub-ralph#45

0xFANGO added 2 commits April 8, 2026 13:56
Align SDK createSlides() with frontend apiCreateStorybook() by injecting
mode: 'slides' at the top level of the request body. Without this, the
backend falls through to the explainer video path.

Part of marswaveai/listenhub-ralph#45
@0xFANGO 0xFANGO changed the title [Spec] [Bug] createSlides 调用参数和前端不一致,slides 生成的是 explainer video fix: createSlides 请求体添加顶层 mode 参数 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant