gnodet-bot commented on code in PR #30859:
URL: https://github.com/apache/camel/pull/30859#discussion_r4706170351
##########
components/camel-ai/camel-ai-tool/src/main/java/org/apache/camel/component/ai/tool/AiToolConfiguration.java:
##########
@@ -37,7 +37,10 @@ public class AiToolConfiguration implements Cloneable {
@Metadata(label = "consumer")
@UriParam(description = "Comma-separated list of tags used to group tools.
"
+ "Producers filter the registry by these tags to
select which tools to expose to the LLM. "
- + "When omitted, the tool goes into a default pool
available to all producers.")
+ + "When omitted, the tool goes into a default pool
that is added to the tools of every tag "
+ + "a producer selects with its own tags option "
+ + "(producers without tags receive no registry
tools, "
+ + "and the MCP server never exposes the default
pool).")
Review Comment:
💡 **Doc clarity (low):** The new description is a 42-word sentence with
three subordinate clauses chained via `and`. Suggest splitting into two
sentences for readability:
```suggestion
+ "When omitted, the tool goes into a default
pool. "
+ "This pool is appended to the tools of every
tag a producer selects with its own tags option; "
+ "producers without tags receive no registry
tools, and the MCP server never exposes the default pool.")
```
--
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]