You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prompt/prompt-executor/prompt-executor-clients/prompt-executor-google-client/src/commonMain/kotlin/ai/koog/prompt/executor/clients/google/GoogleLLMClient.kt
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -511,17 +511,20 @@ public open class GoogleLLMClient @JvmOverloads constructor(
511
511
null->null
512
512
}
513
513
514
-
val groundingTool:GoogleTool?=if (googleParams.groundingEnabled) {
515
-
val interval =if (googleParams.groundingStartTime !=null&& googleParams.groundingEndTime !=null) {
Copy file name to clipboardExpand all lines: prompt/prompt-executor/prompt-executor-clients/prompt-executor-google-client/src/commonMain/kotlin/ai/koog/prompt/executor/clients/google/GoogleParams.kt
Copy file name to clipboardExpand all lines: prompt/prompt-executor/prompt-executor-clients/prompt-executor-google-client/src/jvmTest/kotlin/ai/koog/prompt/executor/clients/google/GoogleLLMClientTest.kt
+45-15Lines changed: 45 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -668,15 +668,15 @@ class GoogleLLMClientTest {
668
668
}
669
669
670
670
@Test
671
-
fun`createGoogleRequest injects googleSearch tool when groundingEnabled is true`() {
671
+
fun`createGoogleRequest injects googleSearch tool when groundingSearchConfig is enabled`() {
0 commit comments