Skip to content

Commit 13f0857

Browse files
committed
swift-format
1 parent 562aa88 commit 13f0857

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/Converse/BedrockService+ConverseStreaming.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extension BedrockService {
3434
/// BedrockLibraryError.invalidPrompt if the prompt is empty or too long
3535
/// BedrockLibraryError.invalidModality for invalid modality from the selected model
3636
/// BedrockLibraryError.invalidSDKResponse if the response body is missing
37-
/// - Returns: A ConverseReplyStream object that gives access to the high-level stream of ConverseStreamElements objects
37+
/// - Returns: A ConverseReplyStream object that gives access to the high-level stream of ConverseStreamElements objects
3838
/// or the low-level stream provided by the AWS SDK.
3939
public func converseStream(
4040
with model: BedrockModel,
@@ -124,7 +124,7 @@ extension BedrockService {
124124

125125
// this time, a different stream is created from the previous one, this one has the following elements
126126
// - messageStart: this is the start of a message, it contains the role (assistant or user)
127-
// - text: this is a delta of the text content, it contains the partial text
127+
// - text: this is a delta of the text content, it contains the partial text
128128
// - reasoning: this is a delta of the reasoning content, it contains the partial reasoning text
129129
// - toolUse: this is a buffered tool use response, it contains the tool name and id, and the input parameters
130130
// - message complete: this includes the complete Message, ready to be added to the history and used for future requests

Sources/Converse/Streaming/ConverseReplyStream.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public struct ConverseReplyStream: Sendable {
223223
t.cancel() // Cancel the task when the stream is terminated
224224
}
225225
}
226-
}
226+
}
227227
}
228228

229229
/// Flushes and processes the buffered content from the stream state

0 commit comments

Comments
 (0)