-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Make generativeModel
an instance method of VertexAI
#12599
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -20,70 +20,81 @@ import Foundation | |||
@_implementationOnly import FirebaseCoreExtension | |||
|
|||
@available(iOS 15.0, macOS 11.0, macCatalyst 15.0, *) | |||
@objc(FIRVertexAI) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it need to be objc
to be initialized by the Component system?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think so. I was seeing Cannot convert value of type '(any VertexAIProvider).Type' to expected argument type 'Protocol'
when I dropped the @objc
s.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it is dropped here?
@paulb777 Already set to |
#no-changelog