dhe128
Explore posts from serversRRunPod
•Created by dhe128 on 10/30/2024 in #⚡|serverless
How to get `/stream` serverless endpoint to "stream"?
thank you! I got it working with stream via polling :scarlettHeart:
9 replies
RRunPod
•Created by dhe128 on 10/30/2024 in #⚡|serverless
How to get `/stream` serverless endpoint to "stream"?
* Looking at
js-sdk
source: https://github.com/runpod/js-sdk/blob/main/src/index.ts#L203 stream()
doesn't pass {responseType: 'stream'}
to xior.get
so it can't be streaming
* Running the runpod UI with network tab open: (https://www.runpod.io/console/serverless/user/endpoint/$endpointId
)
* It polls /stream
every few seconds, not doing streaming.9 replies