Unverified 提交 23ef2ed2 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Gemini 3 (#1819)

<!-- CURSOR_SUMMARY --> > [!NOTE] > Adds `gemini-3-pro-preview` to Google model options with 1,048,576 context window and 65,535 max output tokens. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 6aefc4449908e862476f61c0bcb2a625111256a3. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added Gemini 3 Pro (Preview) to the Google model list so users can select it in the app. Sets a 1,048,576-token context window and a safe max output of 65,535 tokens, with temperature 1.0. <sup>Written for commit 6aefc4449908e862476f61c0bcb2a625111256a3. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
上级 a29ffeee
...@@ -176,6 +176,18 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = { ...@@ -176,6 +176,18 @@ export const MODEL_OPTIONS: Record<string, ModelOption[]> = {
}, },
], ],
google: [ google: [
// https://ai.google.dev/gemini-api/docs/models#gemini-3-pro
{
name: "gemini-3-pro-preview",
displayName: "Gemini 3 Pro (Preview)",
description: "Google's latest Gemini model",
// See Flash 2.5 comment below (go 1 below just to be safe, even though it seems OK now).
maxOutputTokens: 65_536 - 1,
// Gemini context window = input token + output token
contextWindow: 1_048_576,
temperature: 1.0,
dollarSigns: 4,
},
// https://ai.google.dev/gemini-api/docs/models#gemini-2.5-pro-preview-03-25 // https://ai.google.dev/gemini-api/docs/models#gemini-2.5-pro-preview-03-25
{ {
name: "gemini-2.5-pro", name: "gemini-2.5-pro",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论