Skip to content

AI: Error - Gemini 2.5 Flash Lite #43040

@jsparkdev

Description

@jsparkdev

Summary

The following error occurs when using the Gemini 2.5 Flash Lite model.

Description

failed to stream completion: error during streamGenerateContent, status code: 404, body: {
  "error": {
    "code": 404,
    "message": "models/gemini-2.5-flash-lite-preview-06-17 is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.",
    "status": "NOT_FOUND"
  }
}

This issue appears to be caused by the end-of-support for the gemini-2.5-flash-lite-preview-06-17 model on November 18.

Related Link: https://ai.google.dev/gemini-api/docs/changelog#11-04-2025

It is expected that this issue can be resolved by changing the gemini-2.5-flash-lite-preview-06-17 model to gemini-2.5-flash-lite-preview-09-2025, or by using another method. (I am not sure.)

Model Provider Details

  • Provider: Gemini
  • Model Name: Gemini 2.5 Flash Lite
  • Mode: Agent Panel, Inline Assistant, Terminal Assistant

Zed Version and System Specs

Zed: v0.212.7 (Zed)
OS: Linux Wayland fedora 43
Memory: 31.2 GiB
Architecture: x86_64
GPU: AMD Radeon RX 570 Series (RADV POLARIS10) || radv || Mesa 25.2.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:aiImprovement related to Agent Panel, Edit Prediction, Copilot, or other AI featuresstate:needs infoIssue that needs more information from the user

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions