Long Running AI Function
Hello!
I have a long running function 30-40s, and 50s worst case. Its doing some AI magic. I keep getting
Unable to transform response from server
or stream close
(httpBatchStream) when trying to execute the function. Its just a long running function, I do not need it to be streaming, just a bit longer running. Is there a way I can increase the length of which the stream closes on one TRPC mutation endpoint?
Or is there some other workaround here I am not seeing?1 Reply
it feels like the server is returning 500 prematurely, this is why we are getting the "unable to transform error" but the function does complete... it just takes a bit