Skip to content

Conversation

lihuagang03
Copy link
Contributor

Improve method param name in ChatClient.Builder.defaultAdvisors(Advisor...) from advisor to advisors.
Method parameter naming rules should be consistent.

interface AdvisorSpec { AdvisorSpec advisors(Advisor... advisors);	}
interface ChatClientRequestSpec { ChatClientRequestSpec advisors(Advisor... advisors);	}
image
Signed-off-by: lihuagang03 <bert825_work@163.com>
Copy link
Contributor

@sunyuhan1998 sunyuhan1998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ilayaperumalg
Copy link
Member

@lihuagang03 Thanks for the PR! and, @sunyuhan1998 Thanks for the review.

@ilayaperumalg ilayaperumalg merged commit 6a3c6a2 into spring-projects:main Sep 17, 2025
1 check passed
spring-builds pushed a commit that referenced this pull request Sep 17, 2025
) Fixes #3856 Signed-off-by: lihuagang03 <bert825_work@163.com> (cherry picked from commit 6a3c6a2)
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
…ring-projects#3856) Auto-cherry-pick to 1.0.x Fixes spring-projects#3856 Signed-off-by: lihuagang03 <bert825_work@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment