RunpodR
Runpod2y ago
11 replies
abtx

How do I write handler for /run

When I create a handler runpod.serverless.start({"handler": async_generator_handler})
Only http://localhost:8000/runsync triggers async_generator_handler
However when posting against http://localhost:8000/run async_generator_handleris not triggered. Just returns
{"id":"test-20023617-4048-4f73-9511-8ae17a1ad7a5","status":"IN_PROGRESS"}

But nothing happens in the backend
Was this page helpful?