File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-ai-core/src/main/java/org/springframework/ai/chat/client/advisor/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ public record AdvisedRequest(
8989 "userText cannot be null or empty unless messages are provided and contain Tool Response message." );
9090 Assert .notNull (media , "media cannot be null" );
9191 Assert .noNullElements (media , "media cannot contain null elements" );
92- Assert .notNull (toolNames , "functionNames cannot be null" );
93- Assert .noNullElements (toolNames , "functionNames cannot contain null elements" );
92+ Assert .notNull (toolNames , "toolNames cannot be null" );
93+ Assert .noNullElements (toolNames , "toolNames cannot contain null elements" );
9494 Assert .notNull (toolCallbacks , "toolCallbacks cannot be null" );
9595 Assert .noNullElements (toolCallbacks , "toolCallbacks cannot contain null elements" );
9696 Assert .notNull (messages , "messages cannot be null" );
You can’t perform that action at this time.
0 commit comments