You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Veo video generation: retire veo-2, repair polling loop
Two independent bugs caused every generate_video call to fail:
1. The default model "veo-2" (veo-2.0-generate-001) was retired from
the Gemini API on 2026-04-02, so default calls hit a dead endpoint.
Default is now veo-3.1-fast; veo-2 removed from config, map, tool
schema, command doc, and skill matrix.
2. The poll loop called operation.reload(), which does not exist on
google-genai's GenerateVideosOperation. Replaced with the canonical
pattern: operation = client.operations.get(operation). Added a
regression test that asserts operations.get is used.
Also corrects the hooks/hooks.json manifest to the object-based schema.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments