Skip to content

Commit ef7c8e7

Browse files
committed
remove tool config
1 parent b0997cd commit ef7c8e7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/FirebaseVertexAI.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ internal constructor(
9090
* @param modelName The name of the model to use, for example `"gemini-1.5-pro"`.
9191
* @param generationConfig The configuration parameters to use for content generation.
9292
* @param tools A list of [Tool]s the model may use to generate content.
93-
* @param toolConfig The [ToolConfig] that defines how the model handles the tools provided.
9493
* @param systemInstruction [Content] instructions that direct the model to behave a certain way.
9594
* Currently only text content is supported.
9695
* @param requestOptions Configuration options for sending requests to the backend.
@@ -101,7 +100,6 @@ internal constructor(
101100
modelName: String,
102101
generationConfig: LiveGenerationConfig? = null,
103102
tools: List<Tool>? = null,
104-
toolConfig: ToolConfig? = null,
105103
systemInstruction: Content? = null,
106104
requestOptions: RequestOptions = RequestOptions(),
107105
): LiveGenerativeModel {
@@ -114,7 +112,6 @@ internal constructor(
114112
firebaseApp,
115113
generationConfig,
116114
tools,
117-
toolConfig,
118115
systemInstruction,
119116
location,
120117
requestOptions,

firebase-vertexai/src/main/kotlin/com/google/firebase/vertexai/LiveGenerativeModel.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import com.google.firebase.vertexai.type.LiveGenerationConfig
2828
import com.google.firebase.vertexai.type.LiveSession
2929
import com.google.firebase.vertexai.type.RequestOptions
3030
import com.google.firebase.vertexai.type.Tool
31-
import com.google.firebase.vertexai.type.ToolConfig
3231
import io.ktor.client.HttpClient
3332
import io.ktor.client.engine.okhttp.OkHttp
3433
import io.ktor.client.plugins.websocket.WebSockets
@@ -58,7 +57,6 @@ internal constructor(
5857
firebaseApp: FirebaseApp,
5958
config: LiveGenerationConfig? = null,
6059
tools: List<Tool>? = null,
61-
toolConfig: ToolConfig? = null,
6260
systemInstruction: Content? = null,
6361
location: String = "us-central1",
6462
requestOptions: RequestOptions = RequestOptions(),

0 commit comments

Comments
 (0)