Description of the bug:
Error polling operation: TypeError: operation._fromAPIResponse is not a function
at async POST (app/api/veo/operation/route.ts:24:18)
22 | // Some SDK versions accept just the name, others expect an operation object.
23 | // We'll pass the minimal required shape with a name.
24 | const fresh = await ai.operations.getVideosOperation({
| ^
25 | operation: {
26 | name,
27 | },
POST /api/veo/operation 500 in 835ms
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
Description of the bug:
Error polling operation: TypeError: operation._fromAPIResponse is not a function
at async POST (app/api/veo/operation/route.ts:24:18)
22 | // Some SDK versions accept just the name, others expect an operation object.
23 | // We'll pass the minimal required shape with a name.
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response