continue icon indicating copy to clipboard operation
continue copied to clipboard

I dont know why but it doesnt work

Open Platon404 opened this issue 11 months ago • 3 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue version: 1.0.0
- IDE version: VScode (dont know what version i have)
- Model: Gemini 1.5 Flash
- config:
  
name: Local Config
version: 1.0.0
schema: v1
models:
  - name: "Gemini 1.5 Flash"
    provider: gemini
    model: gemini-1.5-flash
    apiKey: AIzaSyAkDeIWETRUKje9yg6Y1jRzFAO09T4woqo
  - name: "Gemini 1.5 Pro"
    provider: gemini
    model: gemini-1.5-pro
    apiKey: AIzaSyAkDeIWETRUKje9yg6Y1jRzFAO09T4woqo

tabAutocompleteModel:
  name: "Gemini 1.5 Flash"
  provider: gemini
  model: gemini-1.5-flash
  apiKey: AIzaSyAkDeIWETRUKje9yg6Y1jRzFAO09T4woqo
  
  OR link to agent in Continue hub:

Description

I decided to ask to do my code more readable by pushing Ctrl+I and after I sent my asking it sent me this error!

To reproduce

Image

Log output

[{
  "error": {
    "code": 404,
    "message": "models/gemini-1.5-flash 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"
  }
}
]

Platon404 avatar Dec 29 '25 18:12 Platon404

Related issues:

  • #8176 - Cannot find the Gemini 2.5 Pro model (same 404 error with v1beta API)
  • #2702 - Gemini code completion error with API parameters
  • #5776 - "content.parts is not iterable" error with Gemini 2.5 Pro
  • #6121 - Gemini models in agent mode giving 400 error
  • #8342 - General Gemini configuration issues

continue avatar Dec 29 '25 18:12 continue

You better rotate your api keys dude, you leaked them.

isdinAghmir avatar Dec 30 '25 17:12 isdinAghmir

Hi @Platon404, see above message, also gemini 1.5 models are no longer supported by google.

RomneyDa avatar Jan 23 '26 01:01 RomneyDa