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

Revert "Make GenerativeModel and Chat into Swift actors (#13545)" #13703

Merged
merged 3 commits into from
Sep 24, 2024

Conversation

andrewheard
Copy link
Contributor

Reverted the Vertex AI refactor of GenerativeModel and Chat as Swift actors. The methods generateContentStream and startChat in GenerativeModel and sendMessageStream in Chat no longer need to be called with await. These methods do, however, continue to throw (new behaviour introduced in 11.2).

…rs (#13545)"

This reverts commit 20ec9a3.

# Conflicts:
#	FirebaseVertexAI/CHANGELOG.md
#	FirebaseVertexAI/Sample/ChatSample/ViewModels/ConversationViewModel.swift
#	FirebaseVertexAI/Sample/FunctionCallingSample/ViewModels/FunctionCallingViewModel.swift
#	FirebaseVertexAI/Sample/GenerativeAIMultimodalSample/ViewModels/PhotoReasoningViewModel.swift
#	FirebaseVertexAI/Sample/GenerativeAITextSample/ViewModels/SummarizeViewModel.swift
#	FirebaseVertexAI/Sources/Chat.swift
#	FirebaseVertexAI/Tests/Unit/ChatTests.swift
#	FirebaseVertexAI/Tests/Unit/GenerativeModelTests.swift
@andrewheard andrewheard added this to the 11.3.0 - M154 milestone Sep 24, 2024
@andrewheard andrewheard marked this pull request as ready for review September 24, 2024 02:00
Copy link
Member

@paulb777 paulb777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The visionOS CI failures will be fixed in #13697

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants