Skip to content

Conversation

@devcrocod
Copy link
Contributor

Motivation and Context

2.0-flash and 2.0-flash-lite support structured output

Breaking Changes

None


Type of the changes

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tests improvement
  • Refactoring

Checklist

  • The pull request has a description of the proposed change
  • I read the Contributing Guidelines before opening the pull request
  • The pull request uses develop as the base branch
  • Tests for the changes have been added
  • All new and existing tests passed

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds structured output support to Gemini 2.0 Flash and Flash-Lite models by updating their capability definitions from a manual combination to using fullCapabilities.

  • Replaced standardCapabilities + toolCapabilities + multimodalCapabilities with fullCapabilities for both models
  • This change adds structuredOutputCapabilities (JSON Basic and Standard schema support) to these models
  • The update aligns these 2.0 models with the 2.5 models which already use fullCapabilities

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@devcrocod devcrocod force-pushed the devcrocod/fix-google-models-capabilities branch from 67e0b83 to 55a8ace Compare December 1, 2025 17:17
@devcrocod devcrocod force-pushed the devcrocod/fix-google-models-capabilities branch from 55a8ace to 8e63882 Compare December 12, 2025 14:37
@github-actions
Copy link

Qodana for JVM

1204 new problems were found

Inspection name Severity Problems
Check Kotlin and Java source code coverage 🔶 Warning 1184
Missing KDoc for public API declaration 🔶 Warning 20
@@ Code coverage @@
+ 73% total lines covered
17316 lines analyzed, 12646 lines covered
# Calculated according to the filters of your coverage tool

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

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.

2 participants