Skip to content

Commit 92d16f7

Browse files
committed
Update package
1 parent 688168b commit 92d16f7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Package.swift

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ let package = Package(
7979
dependencies: [
8080
"CorePersistence",
8181
"CoreMI",
82+
"LargeLanguageModels",
8283
"Merge",
8384
"NetworkKit",
8485
"Swallow"

Sources/LargeLanguageModels/Intramodular/LLMs/AbstractLLM.ChatCompletionStream.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ public protocol __AbstractLLM_ChatCompletionStreamProtocol: ObservableObject, Pu
2323
extension AbstractLLM {
2424
public typealias ChatCompletionStreamProtocol = __AbstractLLM_ChatCompletionStreamProtocol
2525

26-
/// An object that represents a live chat-completion stream from an LLM.
26+
/// The stream of a single chat-completion from an LLM provider.
27+
///
28+
/// It's a stream of the partial pieces of an `AbstractLLM.ChatCompletion` until the stream either finishes or is interrupted.
2729
public final class ChatCompletionStream: __AbstractLLM_ChatCompletionStreamProtocol, ObservableObject {
2830
private var objectWillChangeRelay: ObjectWillChangePublisherRelay<any ChatCompletionStreamProtocol, ChatCompletionStream>!
2931
private let base: any ChatCompletionStreamProtocol

0 commit comments

Comments
 (0)