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: models/spring-ai-vertex-ai-gemini/src/main/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatModel.java
+79-11Lines changed: 79 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -547,7 +547,7 @@ public Flux<ChatResponse> internalStream(Prompt prompt, ChatResponse previousCha
Copy file name to clipboardExpand all lines: models/spring-ai-vertex-ai-gemini/src/main/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatOptions.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -423,7 +423,7 @@ public Builder functions(Set<String> functionNames) {
423
423
}
424
424
425
425
publicBuildertoolNames(Set<String> toolNames) {
426
-
Assert.notNull(toolNames, "Function names must not be null");
426
+
Assert.notNull(toolNames, "Tool names must not be null");
427
427
this.options.toolNames = toolNames;
428
428
returnthis;
429
429
}
@@ -434,7 +434,7 @@ public Builder function(String functionName) {
434
434
}
435
435
436
436
publicBuildertoolName(StringtoolName) {
437
-
Assert.hasText(toolName, "Function name must not be empty");
437
+
Assert.hasText(toolName, "Tool name must not be empty");
Copy file name to clipboardExpand all lines: models/spring-ai-vertex-ai-gemini/src/test/java/org/springframework/ai/vertexai/gemini/VertexAiGeminiChatModelIT.java
0 commit comments