davsclaus opened a new pull request, #27660:
URL: https://github.com/apache/camel/pull/27660

   https://issues.apache.org/jira/browse/CAMEL-25529
   
   A local model writes `steps:` of a split (or `parameters:` of a to) at the 
column of the EIP key, as a second key of the `- item`. The hint said "steps: 
is at the column of - split: ... indented under split:, two spaces more"; read 
from the dash, that is where `steps:` already was. A second error at the same 
step said to "move the items up one level", the opposite of the fix. In the 
local-model benchmark the model wrote the same YAML 5 to 17 times and ran out 
of tool calls (four steps failed this way).
   
   - The hint now names the key the option lines up with and the one it belongs 
next to: "steps: lines up with split:, so it is read as a second key of the - 
item; it is an option of split: indent steps: and the lines under it two spaces 
more, so steps: lines up with expression:".
   - The repeated "property 'steps' is not defined" error at the same step is 
dropped.
   - `StructureHintTest`: the `to`/`parameters` case moves to the new wording, 
and a `split`/`steps` case, as the model wrote it, checks there is one error.
   
   Follow-up of CAMEL-25372.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m


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