feat: add Gemini agentic video adapter - #1608
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
Execution receipt — security workflow diagnosisVerified failing run: Security Scan The container build stops before Trivy executes because: The PR changes only:
Interpretation: the failed security workflow is a repository package/lock synchronization blocker, not a vulnerability finding from this adapter. Trivy was skipped because the image never built. Action: recorded here rather than mixing an unrelated lockfile rewrite into this focused PR. The next safe repair is to reconcile the web workspace lockfile in its canonical dependency-maintenance work, then rerun Security Scan. Other exact-head checks currently verified successful: CI, Coverage, CodeQL, Secret Scan, and Dependency Review. |
Execution receipt — Gemini 3.8 adoption boundary and benchmark scopeNew verified fact (2026-09-02): Google released Gemini 3.8 Flash, and Vercel AI Gateway exposes it as Separate verified fact: Google's current agentic-video guide still documents Sources:
Decision: TEST. Keep this draft's default at Re-scoped value of this PR: retain it as the explicit agentic-processing/receipt adapter and use it to benchmark against the main gateway extractor on the same videos:
The adapter already permits a model override through |
What changed
Adds an opt-in adapter for Google's agentic video understanding path via the Interactions API.
agenticandstaticprocessing per video, including mixed requestsgemini-3.7-flashWhy
Google AI Studio announced agentic video understanding on September 1, 2026. The capability actively inspects transcript, frames, and audio with adaptive frame sampling, which maps directly to EventRelay's video-to-event pipeline and the See → Act → Record → Review loop.
Sources:
Verification
python -m compileall src/integration/gemini_agentic_video.py tests/unit/test_gemini_agentic_video.py— passedNo module named pytest); repository CI remains the merge gateNo production deployment or default-path switch is included.