Skip to content

Commit 6ac7ea2

Browse files
committed
swift-format
1 parent 9cf3a10 commit 6ac7ea2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/BedrockModel.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ public struct BedrockModel: Hashable, Sendable, Equatable, RawRepresentable {
2828

2929
public var maxPromptSize: Int? {
3030
guard self.hasTextModality(),
31-
let textModality = try? self.getTextModality() else { return nil }
32-
31+
let textModality = try? self.getTextModality()
32+
else { return nil }
33+
3334
return textModality.getParameters().prompt.maxSize
3435
}
3536

0 commit comments

Comments
 (0)