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

   Fixes https://issues.apache.org/jira/browse/CAMEL-24898 (part of CAMEL-24886)
   
   The YAML DSL names the JSON data format `json:` with `library: Jackson`; the 
catalog names it by artifact, `jackson`. `camel_catalog_doc json` answered 
"Data format not found: json" with the suggestions fastjson, fhirJson, 
groovyJson, gson, jackson, and `camel_catalog_doc jackson` showed the options 
without the YAML shape. In the camel-jbang-mcp stepwise benchmark 
(connect/stock-api) the local model looped six calls between `json`, `jackson` 
and `json-jackson` and ran out of its budget without writing the marshal step.
   
   `CatalogDocs` now maps the YAML and everyday names to the artifact (`json`, 
`json-jackson` -> `jackson`; `yaml` -> `snakeYaml`; `xml` -> `jacksonXml`; 
`avro-jackson`, `protobuf-jackson`, and the gson/fastjson/jsonb spellings), and 
the answer for a data format whose YAML key differs from its artifact carries a 
`yaml` field with the shape: `marshal: {json: {library: Jackson}} or unmarshal: 
{...}`. The `name` parameter description says a data format is found by either 
name. Test in `CatalogDocsTest`; the prompt budget guard still passes.
   
   🤖 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