Skip to content

feat(sample): 新增四个用例样例的 BytePlus(_bp)版本 - #271

Open
jdp-just-does-projects wants to merge 1 commit into
bytedance:mainfrom
jdp-just-does-projects:feature/byteplus-usecase-examples
Open

jdp-just-does-projects wants to merge 1 commit into
bytedance:mainfrom
jdp-just-does-projects:feature/byteplus-usecase-examples

Conversation

@jdp-just-does-projects

@jdp-just-does-projects jdp-just-does-projects commented Sep 22, 2026 •

Copy link
Copy Markdown

背景

本 PR 是 #270 的重新提交(其一)。根据维护者的建议,不再使用独立的顶层 byteplus/ 目录,而是将已有同名样例的 BytePlus 版本以 _bp 后缀放入原样例所在的 python/02-use-cases/ 目录:

样例 说明
ad_video_gen_bp ad_video_gen 的 BytePlus 平台版本:单智能体电商营销视频生成
ad_video_gen_seq_bp ad_video_gen_seq 的 BytePlus 平台版本:顺序多智能体营销视频流水线
comic_drama_gen_bp comic_drama_gen 的 BytePlus 平台版本:故事创意生成完整漫剧视频
video_gen_bp video_gen 的 BytePlus 平台版本:童话故事生成绘本插画与分镜视频

没有同名对应样例的两个 BytePlus 样例(coding_coach_harness_bp、sandbox_demo_bp)在另一个 PR 中提交至 python/advanced/。

为什么需要独立的 BytePlus 版本

两个平台在产品/功能可用性、资源命名、API Endpoint 与 Region 上存在差异,现有样例在 BytePlus 上并不总能直接运行。_bp 版本已在 BytePlus 平台(ap-southeast 区域)实测通过。我是 BytePlus 侧负责 ArkClaw 和 AgentKit 的 PDSA,后续会负责这套样例在 BytePlus 上的持续测试与更新。

相比 #270 的改进

  • 按 template/ 规范重构:每个样例包含符合模板骨架的中文 README.md(英文文档保留为 README_en.md)、通过 workflow_utils/check_project_yaml.py 校验的 project.yaml、LICENSE(Apache 2.0)、assets/images/ 资源目录
  • 根 README 的样例列表新增 4 行(含难度标签)
  • 本地已通过全部 pre-commit 检查(ruff check / ruff format / gitleaks / markdownlint / check-use-cases-project-yaml),ruff 使用与仓库一致的 v0.11.12

期待各位的审核意见,谢谢!

Add BytePlus-platform twins of ad_video_gen, ad_video_gen_seq,
comic_drama_gen and video_gen under python/02-use-cases/<name>_bp,
following the template/ conventions (Chinese README on the required
skeleton, README_en.md, project.yaml passing check_project_yaml,
per-sample LICENSE, assets/images layout), and list them in the root
README sample table.
@jdp-just-does-projects
jdp-just-does-projects force-pushed the feature/byteplus-usecase-examples branch from 01cf06f to ee1d032 Compare September 22, 2026 03:08
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