Skip to content

Conversation

sscowden
Copy link
Contributor

Fixes #10964

Feedback welcome, wasn't really sure on how I should approach this, but opted to add a Moq logger to the existing Gemini ResponseSchema test. This required me to make GeminiRequest.GetResponseSchemaConfig public and add an optional ILogger parameter to GeminiChatGenerationTests.CreateChatCompletionClient.

@sscowden sscowden requested a review from a team as a code owner March 15, 2025 02:11
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Mar 15, 2025
@sscowden
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Claim Mosaic"

Copy link
Member

@rogerbarreto rogerbarreto left a comment

Choose a reason for hiding this comment

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

Hi @sscowden Thanks for the first contribution!

Just one observation. Change the public to be an internal

Looks good to me.

@sscowden
Copy link
Contributor Author

Hi @sscowden Thanks for the first contribution!

Just one observation. Change the public to be an internal

Looks good to me.

Hey Roger, sorry I didn't get to this in time. Thank you for completing the PR!

@rogerbarreto rogerbarreto added this pull request to the merge queue Mar 18, 2025
Merged via the queue into microsoft:main with commit b198d9f Mar 18, 2025
20 checks passed
@github-project-automation github-project-automation bot moved this from Community PRs to Sprint: Done in Semantic Kernel Mar 18, 2025
jcruzmot-te pushed a commit to thousandeyes/aia-semantic-kernel that referenced this pull request Sep 15, 2025
…osoft#10993)

Fixes microsoft#10964 

Feedback welcome, wasn't really sure on how I should approach this, but
opted to add a Moq logger to the existing Gemini ResponseSchema test.
This required me to make `GeminiRequest.GetResponseSchemaConfig` public
and add an optional ILogger parameter to
`GeminiChatGenerationTests.CreateChatCompletionClient`.

---------

Co-authored-by: Roger Barreto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

.Net Bug: Logging fails when using Gemini ResponseSchema by type
3 participants