Skip to content

[FEATURE] support ToolProvider automatically wired into the AI Service if available in the application contex #3073

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

Open
zzx1314 opened this issue May 21, 2025 · 2 comments · May be fixed by #3075 or langchain4j/langchain4j-spring#131

Comments

@zzx1314
Copy link

zzx1314 commented May 21, 2025

hi, In springboot, the classes below in the document will be automatically injected. Why not inject the ToolProvider class as well? This will make it easier to call MCP.
Image

@dliubarskyi
Copy link
Member

Hi @zzx1314, thanks! Feel free to implement this feature in https://github.com/langchain4j/langchain4j-spring repo

@zzx1314
Copy link
Author

zzx1314 commented May 21, 2025

@dliubarskyi Thank you for your reply. I will submit a PR on langchain4j-spring to support this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment