Skip to content

Conversation

@tenowg
Copy link

@tenowg tenowg commented Nov 12, 2025

Motivation and Context

While using SK with Google connector as I have found some major short comings in the features I needed, I could have moved to a different framework but I too the challenge to make it working for my design more fun. I had initially thought to keep it for my uses, but it only took a few hours to clean it up so it looks presentable at least in my opinion. This addition gets Native Tool calls working, currently only the new FileSearch feature, but it would be easy to add the other with only a few more lines of code.

Description

I have modified the GeminiRequest build process to handle both functionDeclarations and Native Gemini Tools, making a GeminiTool both compatible with declarations and tools. I have added a simple configuration to the GeminiPromptExecutionSettings to add FileSearch (an possibly other Tools).

At this time there are no new Tests written, for I was not able to get the tests to run initially without fail, most likely due to my inexperience. I know it isn't much help but rest assured I have tested this functionality. I look forward to advice and criticism. I hope we can make this work. If the idea is sound but the execution is poor or misplaced, I am willing to work to make any necessary changes.

Contribution Checklist

@tenowg tenowg requested a review from a team as a code owner November 12, 2025 19:01
@tenowg
Copy link
Author

tenowg commented Nov 12, 2025

@microsoft-github-policy-service agree

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.

1 participant