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

   Fixes https://issues.apache.org/jira/browse/CAMEL-24881
   
   In the camel-jbang-mcp stepwise benchmark the step "give the 
payment-provider route a noErrorHandler" failed 4 of 5 times: the local model 
wrote `noErrorHandler: true` or `errorHandlerType: none` under the route, a 
boolean `noErrorHandler` under `errorHandler:`, or `errorHandler: {type: 
noErrorHandler}`, and the validator answered "not defined in the schema" or 
"boolean found, object expected" without the shape. Three hint rows in 
`SchemaHints`:
   
   - an unknown `noErrorHandler`, `deadLetterChannel`, `defaultErrorHandler` 
(and the other kinds), `errorHandlerType` or `errorHandlerRef` under `route:` 
or `from:`: "a route-level error handler is written under the route as 
errorHandler: with the kind as its key: errorHandler: {noErrorHandler: {}}, ... 
(a top-level - errorHandler: item applies to every route)"
   - `noErrorHandler` with a boolean: "noErrorHandler takes no options: write 
noErrorHandler: {}"
   - a `type` or `errorHandlerType` property under `errorHandler:`: 
"errorHandler: has the kind of handler as its key, not a type property: ..."
   
   Test in `YamlValidatorPropertyHintTest` with the four shapes, both schema 
modes; the doc example suites still pass.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_01Bp3538HRBPMQkb5ta9xRaj


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