Skip to content

Simplify logic in ToolCallingChatOptions#5759

Open
jxblum wants to merge 1 commit intospring-projects:mainfrom
jxblum:pr/refactor-toolcallingchatoptions
Open

Simplify logic in ToolCallingChatOptions#5759
jxblum wants to merge 1 commit intospring-projects:mainfrom
jxblum:pr/refactor-toolcallingchatoptions

Conversation

@jxblum
Copy link
Copy Markdown
Contributor

@jxblum jxblum commented Apr 5, 2026

Refactors the logic in isInternalToolExecutionEnabled(:ChatOptions)` to be more concise (less verbose) and easier to read.

Refactors validateToolCallbacks(:List) method to leverage Spring core's Assert class.

@jxblum jxblum changed the title Simplify logic in ToolCallingChatOptions Simplify logic in ToolCallingChatOptions Apr 5, 2026
Closes spring-projects#5759

Signed-off-by: John Blum <jblum0@gmail.com>
@jxblum jxblum force-pushed the pr/refactor-toolcallingchatoptions branch from ac25cdf to d5675ba Compare April 5, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant