Skip to content

Commit 2cef56e

Browse files
andrewheardgoogle-labs-jules[bot]
authored andcommitted
[Firebase AI] Make URLContext struct internal (#15335)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 23818a8 commit 2cef56e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

FirebaseAI/Sources/Types/Public/Tools/URLContext.swift renamed to FirebaseAI/Sources/Types/Internal/Tools/URLContext.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
// limitations under the License.
1414

1515
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
16-
public struct URLContext: Sendable, Encodable {
16+
struct URLContext: Sendable, Encodable {
1717
init() {}
1818
}

FirebaseAI/Sources/Types/Public/URLContextMetadata.swift

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

15-
/// Metadata related to the ``URLContext`` tool.
15+
/// Metadata related to the ``Tool/urlContext()`` tool.
1616
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
1717
public struct URLContextMetadata: Sendable, Hashable {
1818
/// List of URL context.

FirebaseAI/Sources/Types/Public/URLMetadata.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public struct URLMetadata: Sendable, Hashable {
4949
AILog.MessageCode.urlMetadataUnrecognizedURLRetrievalStatus
5050
}
5151

52-
/// The URL retrieved by the ``URLContext`` tool.
52+
/// The URL retrieved by the ``Tool/urlContext()`` tool.
5353
public let retrievedURL: URL?
5454

5555
/// The status of the URL retrieval.

0 commit comments

Comments
 (0)