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

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
chedim pushed a commit to couchbaselabs/spring-ai that referenced this pull request Sep 19, 2025
Willam2004 pushed a commit to Willam2004/spring-ai that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants