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

   https://issues.apache.org/jira/browse/CAMEL-26384
   
   Two findings from the local-model benchmark (r23):
   
   - **Ternary rewrite:** `${exchangeProperty.CamelTimerCounter} == 1 ? 
resource:file:order.json : resource:file:order-bad-email.json` was rewritten 
with both values quoted inside the function, so the body became the text 
`resource:file:order.json` (2 of 8 runs then failed with `Unrecognized token 
'resource'`). When both values start with the same `resource:` and scheme, the 
prefix now goes before the function: 
`resource:file:${exchangeProperty.CamelTimerCounter == 1 ? 'order.json' : 
'order-bad-email.json'}`.
   - **List item column message:** it gave only line and column numbers, and 
the model sent the same indentation again up to 18 times. It now quotes both 
lines as written. The lenient repair that parses this message accepts the 
quoted form.
   
   Tests: YamlValidatorPropertyHintTest (69), all camel-jbang-core AI tool 
tests (756), green.
   
   🤖 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