[ 
https://issues.apache.org/jira/browse/CAMEL-26721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18140378#comment-18140378
 ] 

Claus Ibsen commented on CAMEL-26721:
-------------------------------------

PR: https://github.com/apache/camel/pull/29391 (stacked on #29390, #29389, 
#29388, #29387 and #29386).

Changed after a live try with a local model (qwen3.6:35b-mlx): the AI panel had 
no chaos tools (decided on CAMEL-26608), so the model looked around the TUI for 
76s (18 tool calls, 214k tokens) and only wrote the rules in its answer. Claus 
decided to give the chaos tool group of the panel tui_chaos_check (read-only), 
tui_chaos_add and tui_chaos_change (both ask the user first), while chaos is 
on. With them the same request took 13s, one tool call and 14k tokens, and 
ended at the add confirm with the two right rules.

_Claude Code on behalf of Claus Ibsen_

> camel-jbang - describe the chaos you want in your own words, and the AI turns 
> it into checked rules
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26721
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26721
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.24.0
>
>
> The last part of S2-5 in the stage 2 order decided on CAMEL-26607: on the 
> chaos screen, the user says the chaos they want in their own words, and the 
> AI turns it into rules.
> * Key {{d}} (describe with AI) on the chaos screen, when the AI panel is 
> there: an input "Describe the chaos you want", such as "the order route fails 
> 5% of the time, or when the country is Spain".
> * Enter sends it to the AI panel at once (the user typed it and confirmed 
> it), with the routes and the sends of the integration, its rules now, the 
> rule syntax in short (including in= and when=), and what to do: write the 
> rules, check them with camel_runtime_chaos_check (CAMEL-26720), show each 
> with its plain words and what it hits, and add them with 
> camel_runtime_chaos_add, which asks the user to confirm first. The routes are 
> not changed.
> * Nothing goes to the integration from the input itself. When the panel is 
> busy, the question waits in its input.
> The eval set of loose prompts (small local model) is still to come.
> _Claude Code on behalf of Claus Ibsen_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to