feat: add function call support for Gemini integration#31
Merged
Conversation
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2b79ee6 to
1febe26
Compare
1febe26 to
bd5e3db
Compare
This was referenced May 12, 2025
bd5e3db to
33c657e
Compare
33c657e to
4b796c8
Compare
akshaydeo
approved these changes
May 13, 2025
4b796c8 to
37a65dc
Compare
akshaydeo
added a commit
that referenced
this pull request
Nov 17, 2025
# Add function call support to Gemini integration This PR enhances the Gemini integration by adding support for function calls in the request conversion process. When a Gemini request contains a function call, it's now properly converted to the Bifrost format with appropriate tool calls. Key changes: - Renamed `main.go` to `types.go` to better reflect its content - Added handling for function calls in the message conversion logic - Implemented proper mapping of function call parameters - Added a utility `StrPtr` function for string pointer conversion - Updated the Bifrost core dependency to v1.0.5 This change ensures that function calls in Gemini requests are properly processed and converted to the Bifrost format, enabling more advanced interactions with the Gemini API.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add function call support to Gemini integration
This PR enhances the Gemini integration by adding support for function calls in the request conversion process. When a Gemini request contains a function call, it's now properly converted to the Bifrost format with appropriate tool calls.
Key changes:
main.gototypes.goto better reflect its contentStrPtrfunction for string pointer conversionThis change ensures that function calls in Gemini requests are properly processed and converted to the Bifrost format, enabling more advanced interactions with the Gemini API.