Skip to content

[BUG]: Update deprecated Gemini model versions across the repository #1136

@shambhu-hegde

Description

@shambhu-hegde

Multiple files in the repository reference deprecated or soon-to-be-deprecated Gemini model versions. These should be updated to use current, supported models.

Deprecated Models Found:
gemini-2.0-flash-001 (Deprecated)

python/agents/travel-concierge/travel_concierge/agent.py (line 34)
python/agents/RAG/rag/agent.py (line 44)
go/agents/sail-researcher/config/config.go (line 6)
go/agents/sail-researcher/README.md (line 73)
gemini-2.0-flash (Legacy/Deprecated)

python/agents/story_teller/story_teller_agent/agent.py (line 29 - used throughout the file)
python/agents/image-scoring/image_scoring/config.py (line 7)
python/agents/image-scoring/.env.example (line 12)
python/agents/antom-payment/antom-payemnt-agent/agent.py (line 10)
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/bigquery_utils/BIGQUERY_SETUP.md (line 23)
python/agents/short-movie-agents/GEMINI.md (multiple references)
python/agents/plumber-data-engineering-assistant/plumber_agent/sub_agents/dataproc_template_agent/utils.py (line 81)
Recommended Actions:
Replace gemini-2.0-flash-001 with gemini-2.0-flash (if available) or a newer supported model like gemini-2.5-flash or gemini-3-pro
Replace gemini-2.0-flash with a current supported version (e.g., gemini-2.5-flash or gemini-3-pro)
Update all documentation and examples to use current models
Consider providing migration guidance for users
Files Affected:
python/agents/travel-concierge/travel_concierge/agent.py
python/agents/story_teller/story_teller_agent/agent.py
python/agents/RAG/rag/agent.py
python/agents/image-scoring/image_scoring/config.py
python/agents/image-scoring/.env.example
python/agents/antom-payment/antom-payemnt-agent/agent.py
go/agents/sail-researcher/config/config.go
go/agents/sail-researcher/README.md
python/agents/hierarchical-workflow-automation/cookie_scheduler_agent/bigquery_utils/BIGQUERY_SETUP.md
python/agents/short-movie-agents/GEMINI.md
python/agents/plumber-data-engineering-assistant/plumber_agent/sub_agents/dataproc_template_agent/utils.py
Priority:
High - Deprecated models may stop working or experience degraded performance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions