Skip to content

Commit

Permalink
Make OllamaKit conform to Sendable protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
1amageek committed Nov 9, 2024
1 parent e19b5cf commit f94f93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/OllamaKit/OllamaKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import Foundation

/// Provides a streamlined way to access the Ollama API, encapsulating the complexities of network communication and data processing.
public struct OllamaKit {
public struct OllamaKit: Sendable {
var baseURL: URL = URL(string: "http://localhost:11434")!
var decoder: JSONDecoder = .default

Expand Down

0 comments on commit f94f93d

Please sign in to comment.