We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2f48fd commit a589589Copy full SHA for a589589
FirebaseAI/Sources/Types/Public/Live/LiveSession.swift
@@ -37,10 +37,12 @@ public final class LiveSession: Sendable {
37
38
/// Response to a ``LiveServerToolCall`` received from the server.
39
///
40
+ /// This method is used both for the realtime API and the incremental API.
41
+ ///
42
/// - Parameters:
43
/// - responses: Client generated function results, matched to their respective
44
/// ``FunctionCallPart`` by the `functionId` field.
- public func functionResponses(_ responses: [FunctionResponsePart]) async {
45
+ public func sendFunctionResponses(_ responses: [FunctionResponsePart]) async {
46
let message = BidiGenerateContentToolResponse(
47
functionResponses: responses.map { $0.functionResponse }
48
)
0 commit comments