dan mylesD
tRPC10mo ago
2 replies
dan myles

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?
Was this page helpful?