Skip to content

feat(plugins): 移植 Vertex AI Gemini Omni 视频生成支持 (#170) - #176

Merged
woncc merged 1 commit into
mainfrom
cursor/upstream-issue-170-d0abbf6e0-20261105
Nov 5, 2026
Merged

woncc merged 1 commit into
mainfrom
cursor/upstream-issue-170-d0abbf6e0-20261105

Conversation

@woncc

@woncc woncc commented Nov 5, 2026

Copy link
Copy Markdown

🔗 关联任务 / Related Issue

Closes #170

移植上游 QuantumNous@d0abbf6 (QuantumNous#8142)。

🚀 变更类型 / Type of change

  • ✨ 新功能 (New feature)
  • 📝 文档更新 (Documentation)

📝 变更描述 / Description

Vertex AI 插件增加 Gemini Omni 视频生成,通过全局 Interactions API 提交和查询任务;支持内联视频下载,并在持久化快照前移除视频字节。保留 Veo 路径与 fork 原有轮询、结算逻辑。仅修改授权的 7 个文件,直接 cherry-pick,无依赖变更。

本 PR 由 AI 辅助移植和验证,正文已精炼,验证记录可复核;人工复核留待独立审查者。Git 身份为 woncc(历史主要作者同名,邮箱不同),未修改配置。

📸 运行证明 / Proof of Work

实际执行:

GOMAXPROCS=2 RAYON_NUM_THREADS=2 GOWORK=off go test -p=2 ./controller/ ./plugins/ ./service/ -count=1 -run '^(TestProxyTaskMediaReadsArtifactFromJSONContentPath|TestVertexAI.*|TestRedactVideoResponseBody.*)$' -v
git diff HEAD^ HEAD --check

三包通过;覆盖 Omni 请求及参数拒绝、任务状态、视频描述符、完成状态下载、快照脱敏和既有 Veo/网关行为;diff 检查通过。元数据的中英文描述遵循计费主体加单价规则,未增加价格或修改表达式。

未调用真实 Vertex 服务;测试为插件执行和本地 HTTP fixture,不代表供应商端到端验证。无 SQL、模型或迁移变更,未运行数据库矩阵;未运行全量套件。独立审查及合并由控制方完成。

✅ 提交前检查项 / Checklist

  • 人工确认: 待独立人工/审查者确认
  • 非重复提交: 已查询本 fork 当前分支,无既有 PR;此为指定上游提交的 fork 移植
  • 新功能关联 Issue: [上游/现在能解] d0abbf6e0 feat(plugins): generate video with Gemini Omni on Vertex AI channels ( #170
  • 事前沟通: 按已授权工作包执行
  • 功能范围: 聚焦 Vertex AI 官方渠道插件
  • 非透传: 插件构建及解析请求
  • 范围聚焦: 仅指定上游提交
  • 本地验证: 命令及结果见上
  • 安全合规: 无新增凭据,沿用既有鉴权边界

@woncc
woncc merged commit 49170cd into main Nov 5, 2026
@woncc
woncc deleted the cursor/upstream-issue-170-d0abbf6e0-20261105 branch December 2, 2026 15:32
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.

[上游/现在能解] d0abbf6e0 feat(plugins): generate video with Gemini Omni on Vertex AI channels (

2 participants