刚看到 gemini-2.5系列快下架了,所以在 newapi 里试了下把模型改成 gemini-3-flash原来的只需要在 在参数覆盖里配置
{ "tools": [ { "google_search": {} } ] }
但是我试了下 gemini-3-flash 加了这个参数后会报错:Error code: 404 - {‘error’: {‘message’: ‘models/gemini-3-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.’
但是如果不填这个参数又能正常调用gemini-3-flash,这是啥问题?
我又测试了gemini-3-flash-preview 和gemini-flash-latest这两个模型 ID,如果加了参数覆盖请求就会报错 429,不加参数覆盖的话就能正常请求,但是模型没有联网。
5 个帖子 - 3 位参与者