Skip to content

Commit 8002ffb

Browse files
author
Gaël Philippe
committed
fix(BifrostAI): allow empty service tier strings
1 parent 56be187 commit 8002ffb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Sources/OpenAI/Public/Models/Types/ServiceTier.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
import Foundation
99

1010
public enum ServiceTier: String, Codable, Hashable, Sendable, CaseIterable {
11-
case auto = "auto"
11+
case auto
1212
case defaultTier = "default"
1313
case flexTier = "flex"
1414
case onDemand = "on_demand"
15+
case empty = ""
1516
}

0 commit comments

Comments
 (0)