Skip to content

Commit c252b0a

Browse files
committed
Fix missing id usage
1 parent 24ef7f0 commit c252b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/Types/Public/Part.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public struct FunctionCallPart: Part {
149149

150150
/// Unique id of the function call. If present, the returned ``FunctionResponsePart``
151151
/// should have a matching `id` field.
152-
public var id: String?
152+
public var id: String? { functionCall.id }
153153

154154
/// Constructs a new function call part.
155155
///

0 commit comments

Comments
 (0)