Skip to content

.Net: Fix Google Gemini Tools SchemaGeneration to comply with Open API 3.0 #11751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

RogerBarreto
Copy link
Member

Motivation and Context

Similar to the StructuredOutput solution, this fix will now also cover the Tool generation when the StructuredOutput feature is not used.

This change also brings a new Integration test to ensure the compatible behavior as well as a sample inspired in the reproduction code in the issue below.

@RogerBarreto RogerBarreto added bug Something isn't working ai connector Anything related to AI connectors labels Apr 26, 2025
@RogerBarreto RogerBarreto self-assigned this Apr 26, 2025
@RogerBarreto RogerBarreto requested a review from a team as a code owner April 26, 2025 14:54
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Apr 26, 2025
@RogerBarreto RogerBarreto added this pull request to the merge queue Apr 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 29, 2025
@RogerBarreto RogerBarreto added this pull request to the merge queue Apr 29, 2025
Merged via the queue into microsoft:main with commit 957608c Apr 29, 2025
28 checks passed
@RogerBarreto RogerBarreto deleted the issues/11675-tools-schemageneration-update branch April 29, 2025 16:23
glorious-beard pushed a commit to glorious-beard/semantic-kernel that referenced this pull request May 6, 2025
…I 3.0 (microsoft#11751)

### Motivation and Context

Similar to the StructuredOutput solution, this fix will now also cover
the Tool generation when the StructuredOutput feature is not used.

This change also brings a new Integration test to ensure the compatible
behavior as well as a sample inspired in the reproduction code in the
issue below.

- Fixes microsoft#11675
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai connector Anything related to AI connectors bug Something isn't working kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.Net: Bug: Gemini LLM returns 400 error when plugin input class contains nullable properties
3 participants