Skip to content

Commit 4c5e1a0

Browse files
committed
Add available annotation to Candidate extension
1 parent 990acb1 commit 4c5e1a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FirebaseAI/Sources/Types/Internal/Errors/EmptyContentError.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
1516
extension Candidate {
1617
struct EmptyContentError: Error {
1718
let localizedDescription = "Invalid Candidate: empty content and no finish reason"

0 commit comments

Comments
 (0)