From 451ea4001d23cc488da5cc095b7e30afa7427cfc Mon Sep 17 00:00:00 2001 From: jdisho Date: Sun, 22 Dec 2024 01:42:19 +0100 Subject: [PATCH] Conform LLMState to Sendable --- Sources/SpeziLLM/Models/LLMState.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SpeziLLM/Models/LLMState.swift b/Sources/SpeziLLM/Models/LLMState.swift index ca2c435..0449d4d 100644 --- a/Sources/SpeziLLM/Models/LLMState.swift +++ b/Sources/SpeziLLM/Models/LLMState.swift @@ -11,7 +11,7 @@ import Foundation /// Describes possible states that the ``LLMSession`` can be in. /// /// Based on the ``LLMState``, `SpeziLLM` performs proper actions on the model as well as state management. -public enum LLMState: CustomStringConvertible, Equatable { +public enum LLMState: CustomStringConvertible, Equatable, Sendable { /// The Spezi ``LLMSession`` is allocated, but the underlying model has not yet been initialized. case uninitialized /// The Spezi ``LLMSession`` is in the process of being initialized.