How to Use TMSFNCCloudIA in an Endpoint Implemetation of an xdata server

i want to implement the cloudid component as a function in my xdata webserver.

it's all ok until the onexecute management. to declare the onexecute on runtime takes no effect. i do not find anything in the demos. how can i define cloudai to wait for the answer at runtime, or is that not possible at the moment and i have to directly ask the llm via httpcall.?

At this moment, TTMSFNCCloudAI performs requests to the LLM service by default in async mode. (Most LLMs take quickly a couple of seconds to respond).
There is at this moment not a setting to make it execute synchronous. It internally uses the TTMSFNCCloudBase class that supports a synchronous mode, so if this is needed, we could expose a property in TTMSFNCCloudAI to make it optionally work synchronously. Although, you'll need to take in account this will hold up your server for a couple of seconds potentially till it can return with a response.