LangChain4jSupport has sync simpleTask and measuredTask, but SpringAiSupport only exposes the async variants. Adding the matching sync factories would close the gap so Spring AI users don't have to go through the async path. The usage and cost capture already lives in measuredAsyncTask, so it is mostly wiring.
LangChain4jSupporthas syncsimpleTaskandmeasuredTask, butSpringAiSupportonly exposes the async variants. Adding the matching sync factories would close the gap so Spring AI users don't have to go through the async path. The usage and cost capture already lives inmeasuredAsyncTask, so it is mostly wiring.