Skip to content
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

MCP logging: trigger CDI events #1253

Open
jmartisk opened this issue Jan 28, 2025 · 0 comments
Open

MCP logging: trigger CDI events #1253

jmartisk opened this issue Jan 28, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jmartisk
Copy link
Collaborator

jmartisk commented Jan 28, 2025

This depends on first upgrading to a langchain4j version that contains langchain4j/langchain4j#2458

We could default to a custom implementation of McpLogMessageHandler that, apart from logging the message as usual, triggers a CDI event so that the application can listen to log events.

@jmartisk jmartisk added the enhancement New feature or request label Jan 28, 2025
@jmartisk jmartisk self-assigned this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant