All 2.5 models not found
Describe the bug Starting around July 15 4:18, when running ADK agent with 2.5 models we get
{"error": "404 NOT_FOUND. {'error': {'code': 404, 'message': 'Publisher Model `projects/ascend-main/locations/us-central1/publishers/google/models/gemini-live-2.5-flash` was not found or your project does not have access to it. Please ensure you are using a valid model version. For more information, see: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions', 'status': 'NOT_FOUND'}}"}
While 2.0 models appears to be working.
Model Information: gemini-2.5-pro-preview-05-06 gemini-2.5-pro gemini-live-2.5-flash gemini-2.5-flash-preview-05-20
all gave us the same error.
More info This can be reproduced both on vertex AI and local.
For us this is mitigated by downgrading all agents to gemini-2.0-flash-001.
We hope to get some visibility on why this is happening. We did not make any changes during the time this error started happening.
Same experience.
[Possibly related] For me gemini-2.5-pro actually works, but none of the preview models are available. If you scroll to "Versions" on https://cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-pro the Discontinuation date is July 15, 2025.
Might have been a transition issue, we have upgraded to the 2.5 versions now and they work.
Will leave this open to discuss ways we can prevent this from happening.
I suggest a way to configure a fallback model for agents that will be used in the case when the primary model specified fails.
close as it's fixed.
I am still facing the same issue:
def root_agent() -> LlmAgent:
agent = LlmAgent(
name="OrchestratorAgent",
model="gemini-2.5-pro",
description="""The Orchestrator Agent is the primary entry point that greets users,
identifies their intent, and routes each query to the correct specialist agent for travel requests, reimbursements, or trip history,
ensuring responses remain within the system’s defined scope.""",
instruction=root_instruction,
sub_agents = [travel_request_agent(), reimbursement_agent(), redis_mcp_agent()],
# tools=[PreloadMemoryTool()],
# after_agent_callback=None,
# output_schema=ChatEnvelope
)
# attach_memory_callback(agent)
return agent
But I am getting:
google.genai.errors.ClientError: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'Publisher Model projects/xx/locations/asia-south1/publishers/google/models/gemini-2.5-pro not found.', 'status': 'NOT_FOUND'}}