Skip to content
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

Fix GeminiTool and FileSystemToolkit #726

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

MusaKhan16
Copy link
Contributor

This pull request addresses issue #724 by modifying the implementation of GeminiTool.tool_schema to correctly incorporate possible "required" parameters for the constructed schema required byFunctionDeclaration.

This implementation also better aligns with other models and their respective implementations; however, it prioritizes correctness for the Gemini SDK via the documentation.

@MusaKhan16 MusaKhan16 changed the title Fix Gemini and FileSystemToolkit Fix GeminiTool and FileSystemToolkit Nov 29, 2024
@MusaKhan16 MusaKhan16 changed the title Fix GeminiTool and FileSystemToolkit Fix GeminiTool and FileSystemToolkit Nov 29, 2024
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (68be19f) to head (4511f0d).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #726   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          399       399           
  Lines        13390     13388    -2     
=========================================
- Hits         13390     13388    -2     
Flag Coverage Δ
tests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@willbakst willbakst merged commit 705208d into Mirascope:main Dec 3, 2024
7 checks passed
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