Skip to content

Commit 0f4c55b

Browse files
committed
Update other doc references to id field
1 parent ad58739 commit 0f4c55b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

FirebaseAI/Sources/Types/Public/Live/LiveServerToolCall.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
/// Request for the client to execute the provided ``functionCalls``.
1616
///
17-
/// The client should return matching ``FunctionResponsePart``, where the `id` fields correspond to
17+
/// The client should return matching ``FunctionResponsePart``, where the `functionId` fields correspond to
1818
/// individual ``FunctionCallPart``s.
1919
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
2020
public struct LiveServerToolCall: Sendable {

FirebaseAI/Sources/Types/Public/Live/LiveServerToolCallCancellation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
@available(iOS 15.0, macOS 12.0, macCatalyst 15.0, tvOS 15.0, watchOS 8.0, *)
2020
public struct LiveServerToolCallCancellation: Sendable {
2121
let serverToolCallCancellation: BidiGenerateContentToolCallCancellation
22-
/// A list of `id`s matching the `id` provided in a previous ``LiveServerToolCall``, where only
23-
/// the provided `id`s should be cancelled.
22+
/// A list of `functionId`s matching the `functionId` provided in a previous ``LiveServerToolCall``, where only
23+
/// the provided `functionId`s should be cancelled.
2424
public var ids: [String]? { serverToolCallCancellation.ids }
2525

2626
init(_ serverToolCallCancellation: BidiGenerateContentToolCallCancellation) {

0 commit comments

Comments
 (0)