TMSFNCCloudAI OpenAI gpt-5 model Issue

Just a quick heads up the TMSFNCCloudAI component needs to be updated for the OpenAI gpt-5 model. getting an error for "temperature" is not supported.

I was able to do a quick fix on my end to get it working. I think I saw on facebook that you guys fixed that issue in the TMS AI Studio but it hasn't been applied to the TMSFNCCloudAI component yet. I don't see the update here yet: https://www.tmssoftware.com/site/tmsfnccloudpack.asp?s=history

Another idea for the next update would be to expose a ReadTimeout and ConnectTimeout variables so we can set that in the component, something like this:

TMSFNCCloudAI1.ReadTimeout := 300000;
TMSFNCCloudAI1.ConnectTimeout := 300000;

for now, I simply added the following to the "procedure TTMSFNCCloudAI.BuildRequest" in the FMX.TMSFNCCloudAI unit:

procedure TTMSFNCCloudAI.BuildRequest(ARequest: TTMSFNCCloudBaseRequest; id: string = '');
begin
  if (GetAPIKey = '') and (Service <> aiOllama) then
    raise Exception.Create('No API key for service specified');

  ARequest.Clear;
  ARequest.AddHeader(cHeaderContent, cHeaderContentValue);
  ARequest.Method := rmPOST;
  ARequest.Name := id;
  ARequest.ReadTimeout := 300000; //<===ADDED
  ARequest.ConnectTimeout := 300000; //<===ADDED

cheers,

Dave

An update for TMS FNC Cloud Pack is in the pipeline. We are finishing its next release.