Skip to content

Instantly share code, notes, and snippets.

@apatronl
Created September 20, 2024 21:36
Show Gist options
  • Save apatronl/348e2994a9ae6c8cb64a50fbaae7d1d6 to your computer and use it in GitHub Desktop.
Save apatronl/348e2994a9ae6c8cb64a50fbaae7d1d6 to your computer and use it in GitHub Desktop.
import Translation
@MainActor
@Observable
class ChatViewModel {
var translationConfiguration: TranslationSession.Configuration? = nil
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment