Skip to content

Commit

Permalink
Add CHANGELOG entry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard committed Jul 2, 2024
1 parent d4f9be8 commit 128f32b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions FirebaseVertexAI/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 10.29.0
- [feature] Added community support for watchOS. (#13215)

# 10.28.0
- [changed] Removed uses of the `gemini-1.5-flash-preview-0514` model in docs
and samples. Developers should now use the auto-updated versions,
Expand Down
7 changes: 4 additions & 3 deletions FirebaseVertexAI/Tests/Unit/MockURLProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ class MockURLProtocol: URLProtocol {
))?

override class func canInit(with request: URLRequest) -> Bool {
guard #unavailable(watchOS 2) else {
#if os(watchOS)
print("MockURLProtocol cannot be used on watchOS.")
return false
}
return true
#else
return true
#endif // os(watchOS)
}

override class func canonicalRequest(for request: URLRequest) -> URLRequest { return request }
Expand Down

0 comments on commit 128f32b

Please sign in to comment.