Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions firebase-ai/src/main/kotlin/com/google/firebase/ai/type/Part.kt
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,7 @@ internal constructor(
}
}

/**
* Represents function call name and params received from requests.
*
* @param name the name of the function to call
* @param args the function parameters and values as a [Map]
* @param id Unique id of the function call. If present, the returned [FunctionResponsePart] should
* have a matching `id` field.
*/
/** Represents function call name and params received from requests. */
public class FunctionCallPart
internal constructor(
public val name: String,
Expand All @@ -174,6 +167,12 @@ internal constructor(
internal val thoughtSignature: String?
) : Part {

/**
* @param name the name of the function to call
* @param args the function parameters and values as a [Map]
* @param id Unique id of the function call. If present, the returned [FunctionResponsePart]
* should have a matching `id` field.
*/
@JvmOverloads
public constructor(
name: String,
Expand Down