File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/type Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ internal constructor(
9090 * [stopAudioConversation] or [close].
9191 *
9292 * @param functionCallHandler A callback function that is invoked whenever the model receives a
93- * function call.
93+ * function call. The [FunctionResponsePart] that the callback function returns will be
94+ * automatically sent to the model.
9495 */
9596 @RequiresPermission(RECORD_AUDIO )
9697 public suspend fun startAudioConversation (
@@ -203,6 +204,9 @@ internal constructor(
203204 /* *
204205 * Sends function calling responses to the model.
205206 *
207+ * **NOTE:** If you're using [startAudioConversation], the method will handle sending function
208+ * responses to the model for you. You do _not_ need to call this method in that case.
209+ *
206210 * @param functionList The list of [FunctionResponsePart] instances indicating the function
207211 * response from the client.
208212 */
You can’t perform that action at this time.
0 commit comments