Skip to content

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

@andrewheard andrewheard merged commit 2bff4d4 into main Sep 24, 2024
32 of 33 checks passed
@andrewheard andrewheard deleted the ah/vertex-revert-actor branch September 24, 2024 14:50
@firebase firebase locked and limited conversation to collaborators Oct 25, 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.

3 participants