gnodet-bot commented on code in PR #30492:
URL: https://github.com/apache/camel/pull/30492#discussion_r4642578627


##########
docs/user-manual/modules/ROOT/pages/camel-jbang-tui-ai-ways.adoc:
##########
@@ -125,8 +125,9 @@ to the TUI; the agent then has both servers.
   This holds for the built-in panel, an ACP agent and an external MCP agent 
alike.
 * *You can see what happened.* The AI log (*F2* -> _AI & MCP_ -> _AI Log_) 
records the questions, tool calls and
   answers of the panel; the MCP log records the calls agents made through the 
MCP server.
-* *The same shortcuts open the panel.* *Shift+F8* in the Source editor, the 
Log tab and the Errors view writes the
-  question for you ("fix with AI") and sends it to whichever provider or agent 
the panel uses. `/overview`, which
+* *The same shortcuts open the panel.* *Shift+F8* in the Source editor, the 
Log tab, the Errors view, the Health
+  tab, and on a failing route or SQL statement writes the question for you 
("fix with AI"), as it does on the Timeline,
+  Chaos and Circuit Breaker screens and on a slow route or SQL statement 
("explain with AI"), and sends it to whichever provider or agent the panel 
uses. `/overview`, which

Review Comment:
   💡 **Doc clarity (STE):** This bullet is a 63-word run-on sentence chaining 
three independent clauses. STE guideline is ~25 words per sentence. Suggest 
splitting:
   
   ```suggestion
   * *The same shortcuts open the panel.* *Shift+F8* in the Source editor, the 
Log tab, the Errors view, the Health
     tab, and on a failing route or SQL statement writes the question for you 
("fix with AI").
     It does the same on the Timeline, Chaos and Circuit Breaker screens and on 
a slow route or SQL statement ("explain with AI"), and sends it to whichever 
provider or agent the panel uses. `/overview`, which
   ```



##########
docs/user-manual/modules/ROOT/pages/camel-jbang-tui-observe.adoc:
##########
@@ -210,6 +210,24 @@ listed once.
 
 image::jbang/camel-tui-log-fix-with-ai-pick.png[Shift+F8 in the Log tab with 
two different ERRORs on the screen]
 
+The Routes, SQL Trace, Health and Circuit Breaker tabs have the key too:
+
+* *Routes*: *Shift+F8* on a route whose exchanges fail asks the AI to fix it, 
with the steps they fail at, their source
+lines and the last error of the route. On a route without failures, it asks 
the AI to explain where the time goes, with
+its slowest steps.
+* *SQL Trace*: *Shift+F8* on a statement that failed asks the AI to fix it, 
with the SQL, the route and source line, and
+the error of its exchange. On a slow statement (100 ms or more), it asks the 
AI why it is slow and what could make it
+faster.
+
+* *Health*: *Shift+F8* asks the AI to fix the checks that are not UP (in the 
table, the selected one). The question has
+the message of the check, what being DOWN means for the integration (taken out 
of service, or restarted), its details
+such as the route and endpoint, the source line of its route, and the stack 
trace of the error. The AI tells whether the

Review Comment:
   💡 **Doc clarity (STE):** "The question has…" runs to 42 words across a chain 
of 5 noun phrases. Consider splitting after "restarted)":
   
   ```suggestion
   the message of the check and what being DOWN means for the integration 
(taken out of service, or restarted).
   The question also has its details such as the route and endpoint, the source 
line of its route, and the stack trace of the error. The AI tells whether the
   ```



-- 
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]

Reply via email to