is stream a POST endpoint or GET endpoint (locally)?
Is stream a POST endpoint or GET endpoint. Trying to run the handler locally before hosting it on runpod with streaming but it's not working.
Noticed the example here: https://doc.runpod.io/reference/llama2-13b-chat#streaming-token-outputs
where /stream is a GET endpoint
But when I check the fastapi swagger API it shows it's a POST endpoint, which ofc doesn't stream but rather return all results together.
Here is my simplified handler:
and by client which fails with /stream (GET) (method not allowed error) locally.
Noticed the example here: https://doc.runpod.io/reference/llama2-13b-chat#streaming-token-outputs
where /stream is a GET endpoint
But when I check the fastapi swagger API it shows it's a POST endpoint, which ofc doesn't stream but rather return all results together.
Here is my simplified handler:
and by client which fails with /stream (GET) (method not allowed error) locally.

