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

[Vertex AI] Refactored FunctionCallingConfig.Mode as a struct #13864

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

andrewheard
Copy link
Contributor

Replaced the FunctionCallingConfig.Mode enum with a struct. This should likely never have been switched over and thus not be a breaking change (omitting changelog entry).

Moved documentation from the mode and allowedFunctionNames properties to the constructor since the properties are internal.

Used all three modes in the integration test to verify that the backend accepts them. They are no-ops in the auto and none cases but the backend would reject them if not encoded properly.

#no-changelog

@andrewheard andrewheard added this to the 11.4.0 - M155 milestone Oct 9, 2024
@andrewheard andrewheard requested a review from paulb777 October 9, 2024 23:14
@andrewheard andrewheard merged commit 1e954e9 into main Oct 10, 2024
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-func-mode branch October 10, 2024 00:26
MojtabaHs pushed a commit to MojtabaHs/firebase-ios-sdk that referenced this pull request Oct 17, 2024
@firebase firebase locked and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants