jiriOndrusek-agent commented on PR #31289: URL: https://github.com/apache/camel/pull/31289#issuecomment-7371791183
Thanks for the review. All addressed in `639f8634c6a`: - **Virtual threads test bound**: now `isLessThan(10_000)`. Still meaningful: the route blocks 20 s. I checked it by making the caller wait past its timeout: the test then fails with 17000 ms. - **Multimodal user messages**: documented in the LangChain4j section. Routes check text only and fail closed: a user message that is not a single text (e.g. text + image from `langchain4j-agent`) or a model answer without text (tool calls only) is fatal. - **`tags` description**: now points to `CamelRouteInputGuardrail` / `CamelRouteOutputGuardrail`. Catalog and endpoint DSL regenerated. - **Logging**: you're right. The docs now say the LangChain4j adapters log the cause of a fatal at `DEBUG`, and the exception text may quote the checked text. - **Dependency**: the docs say to add `camel-ai-guardrail` next to `camel-langchain4j-core` (it is optional there). - **Tracing**: no, nothing is linked today. The route gets a fresh exchange (`createExchange`) on its own pool thread. The LangChain4j guardrail API gives us no Camel exchange, and the thread-local trace context is not carried to the pool thread, so the route span starts a new trace. Linking it to the caller (parent span or span link) makes sense as a follow-up, at least when the call comes from a Camel producer. I'd open a separate ticket for it rather than grow this PR. _Generated with [Claude Code](https://claude.com/claude-code) on behalf of @JiriOndrusek_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
