Skip to content

Conversation

@filiphr
Copy link
Contributor

@filiphr filiphr commented Jun 3, 2025

If for whatever reason I have multiple ChatModel beans available, the ChatClientAutoConfiguration is going to fail because no ChatClient.Builder can be created.

This PR adds the @ConditionalOnSingleCandidate for the chatClientBuilder bean, which allows for smooth startup without the need to manually exclude the ChatClientAutoConfiguration

@filiphr filiphr force-pushed the multiple-chat-clients branch from 3131e19 to 427ed57 Compare June 3, 2025 15:47
@filiphr
Copy link
Contributor Author

filiphr commented Jun 18, 2025

Just wanted to check whether the PR is OK or I need to do some additional changes for it

@filiphr filiphr force-pushed the multiple-chat-clients branch from 427ed57 to 218ab48 Compare July 18, 2025 13:54
@ilayaperumalg
Copy link
Member

@filiphr Thanks for the PR! Linking the PR #3172 as it tries to fix the same issue.

@filiphr
Copy link
Contributor Author

filiphr commented Jul 21, 2025

Thanks @ilayaperumalg, I didn't see that PR. They are indeed trying to fix the same issue. Looking forward to either one getting resolved

@markpollack
Copy link
Member

getting back to this @filiphr

@filiphr
Copy link
Contributor Author

filiphr commented Sep 19, 2025

Thanks @markpollack, please let me know if there is anything that you want me to adjust

@markpollack markpollack added chat client bug Something isn't working labels Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chat client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants