The script will never generate a response.

I have written a worker that uses langchainjs.
ctx.waitUntil(requestModel.call(chat));
return new CorsResponse(readable).finalize(request);
ctx.waitUntil(requestModel.call(chat));
return new CorsResponse(readable).finalize(request);
The first execution per worker works, after that I am getting the error "The script will never generate a response" Any ideas?
1 Reply
Felix || TM9657
Felix || TM9657OP15mo ago
same error when I replace waitUntil with await

Did you find this page helpful?