[
https://issues.apache.org/jira/browse/CAMEL-25362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18148612#comment-18148612
]
Claus Ibsen commented on CAMEL-25362:
-------------------------------------
Fixed in 4.24.0. https://github.com/apache/camel/pull/30492 added Shift+F8 with
AI to the Health, Circuit Breaker, Routes and SQL Trace screens, and
https://github.com/apache/camel/pull/30546 to the Kafka (fix a consumer with an
error or that does not run) and CVE Audit (explain a vulnerability) screens.
The upgrade screen idea waits for Camel Kit.
_Claude Code on behalf of Claus Ibsen_
> camel-jbang - Shift+F8 (fix with AI) in more screens
> ----------------------------------------------------
>
> Key: CAMEL-25362
> URL: https://issues.apache.org/jira/browse/CAMEL-25362
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> CAMEL-25358 made *Shift+F8* "fix with AI" in the Source editor and view (a
> problem, or a line that fails at runtime), the Errors tab (the selected
> error, on its source line) and the Log tab (the ERROR on the screen, with a
> pick list when there are several). The idea is one rule everywhere: when
> something looks wrong, Shift+F8 asks the AI about exactly that, with the
> context already filled in, and the hint sits with the global F-keys in the
> footer.
> Candidate screens:
> || Screen || Shift+F8 on || What the AI gets ||
> | Inspect / Activity | a failed exchange | its path, the body and headers at
> the failing step, the exception |
> | Routes | a route with failures, or slow | the route statistics, its last
> error, its source |
> | Health | a DOWN check | the details of the check, the configuration of the
> component |
> | Circuit Breaker | an OPEN breaker | its state and failure rate, the call it
> protects |
> | SQL Trace | a failed or slow query | the SQL, the parameters and timing,
> the route line |
> | Kafka | a consumer with lag | the group, partitions and offsets, the
> consumer options |
> | CVE Audit | a vulnerable dependency | the advisory, and how the dependency
> comes in (Camel or the project) |
> What to reuse from CAMEL-25358: {{MonitorContext.AskAi}} ({{fixFailure}} for
> a source line, {{explainLogError}} for a question without one),
> {{AiFixPrompt}}, {{RuntimeFailures}} (an error to its source line through the
> processor's source location), and {{MonitorTab.renderFKeyHints}} for the
> footer hint.
> A Camel upgrade screen (versions, LTS and EOL from the catalog, CVEs of the
> version in use, the upgrade guide entries between versions, what {{camel
> update}} changes) is a related idea, kept for Camel Kit, which would do the
> migration work.
> _Claude Code on behalf of Claus Ibsen_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)