Skip to content

Comments

Upgrade generative model to gemini-3-flash-preview#3567

Open
NamanGoyalK wants to merge 1 commit intodart-lang:mainfrom
NamanGoyalK:fix-issue-3555
Open

Upgrade generative model to gemini-3-flash-preview#3567
NamanGoyalK wants to merge 1 commit intodart-lang:mainfrom
NamanGoyalK:fix-issue-3555

Conversation

@NamanGoyalK
Copy link

Closes #3555

Updated the _geminiModel constant to models/gemini-3-flash-preview as requested.
This is a new pr identical to the now withdrawn #3558 which had a branch issue.

Verification

  • Verified locally that dart-services starts correctly.
  • Tested against the /api/v3/suggestFix endpoint and confirmed valid 200 OK responses.
  • Confirmed models/gemini-3-flash-preview is the required endpoint for the current API release (Jan 2026).
image
  • I’ve reviewed the contributor guide and applied the relevant portions to this PR.

@github-actions
Copy link

PR Health

License Headers ✔️
// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
Files
no missing headers

All source files should start with a license header.

Unrelated files missing license headers
Files
pkgs/dart_services/lib/src/context.dart
pkgs/samples/lib/brick_breaker.dart
pkgs/samples/lib/fibonacci.dart
pkgs/samples/lib/hello_world.dart
pkgs/samples/lib/main.dart
pkgs/samples/lib/sunflower.dart

This check can be disabled by tagging the PR with skip-license-check.

API leaks ✔️

The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.

Package Leaked API symbol Leaking sources

This check can be disabled by tagging the PR with skip-leaking-check.

Breaking changes ✔️
Package Change Current Version New Version Needed Version Looking good?

This check can be disabled by tagging the PR with skip-breaking-check.

Unused Dependencies ✔️
Package Status
None No packages found to check.

For details on how to fix these, see dependency_validator.

This check can be disabled by tagging the PR with skip-unused-dependencies-check.

Coverage ✔️
File Coverage

This check for test coverage is informational (issues shown here will not fail the PR).

This check can be disabled by tagging the PR with skip-coverage-check.

Changelog Entry ✔️
Package Changed Files

Changes to files need to be accounted for in their respective changelogs.

This check can be disabled by tagging the PR with skip-changelog-check.

@NamanGoyalK
Copy link
Author

Hi @parlough, just a heads-up that I opened this clean PR to replace #3558 (to fix the git merge history).

Since you had requested a review from @johnpryan on the previous one, could you please re-assign him to this one? Thanks!

@parlough parlough requested a review from johnpryan February 11, 2026 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update model to Gemini 3 Flash

1 participant