-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add AiServiceRegisteredEvent #77
add AiServiceRegisteredEvent #77
Conversation
@catofdestruction thanks a lot! I will review it asap during this week |
It seems there is a conflict with another branch’s commits. How should I handle this conflict? |
@catofdestruction could you please try to resolve the conflict? You will probably need to manually merge changes from both branches. |
I tried to perform the merge in the browser, but I’m not sure if it can compile successfully, and whether the unit tests can run properly. #80 |
Additionally, I also found these errors, but I don’t know how to resolve them :( |
You can try, but if you merge main into your branch, you will need to resolve the conflict anyway. Alternatively, you can also create a new branch from the updated main and apply your changes again. |
Oh nvm, I see that you resolved it already :) |
Please ignore those failures in the CI build, they happen because API keys do not propagate to your branch. But
|
…icesAutoConfig. This event contains the AiService class and its corresponding tools description information. Once a user implements the AiServiceRegisteredEventListener to listen for this event, they can receive the event during the Spring Boot startup phase and handle their business logic as needed. original PR link: langchain4j#77 Issues link: langchain4j/langchain4j#2112
I found a bug in the previous PR, and I have submitted a new PR. links here: |
Publish a Spring Event after registering the AiService Bean in AiServicesAutoConfig.
This event contains the AiService class and its corresponding tools description information.
Once a user implements the AiServiceRegisteredEventListener to listen for this event, they can receive the event during the Spring Boot startup phase and handle their business logic as needed.
Issues link: langchain4j/langchain4j#2112