models/gemini-2.5-pro-preview-05-06 is not found for API version v1alpha, or is not supported for bidiGenerateContent #1054
Unanswered
RafalJachimczyk
asked this question in
Q&A
Replies: 1 comment
-
have you tried changing your model for example gemini-2.0-flash-live-001? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to build a simple UI interface in Next.Js where I invoke my agent. It does work when I start the agent with adk api_server
I'm suspecting that running adk api_server is not appropriate solution to run agents in production ( I will be hosting this agent in docker / AWS ECS) so I am trying to build a simple python program to serve SSE events to my UI app.
Here is the main.py code :
Next.js routes:
And the UI component itself:
When I invoke the agent from the UI I get this error:
As mentioned before - I can get this running with
adk api_server
I'm guessing v1alpha does not support something that is needed, but tried changing to v1beta - but I don't know how !
Cheers,
Rafal
Beta Was this translation helpful? Give feedback.
All reactions