Skip to content

Commit

Permalink
Conform LLMState to Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
jdisho committed Dec 22, 2024
1 parent 6618578 commit 451ea40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SpeziLLM/Models/LLMState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 451ea40

Please sign in to comment.