How to reproduce:
await replicate.predictions.create({
version: "6282abe6a492de4145d7bb601023762212f9ddbbe78278bd6771c8b3b2f2a13b", //vicuna
input: {
prompt: "this is definitely developer error but it would be a nice quality of life improvement to surface the mistake",
},
webhook: `htp\\someinvalid,url.corn/webhawks`,
webhook_events_filter: ['completed', 'logs', 'output', 'start'],
})
The prediction will successfully run and can be verified in one's dashboard – it just never surfaces any errors or notifications that it couldn't deliver the webhook event.
I think in an ideal world predictions.create would probably:
- error when provided a structurally invalid URL
- still function if given a structurally valid but possibly non-responsive endpoint –– but then surface an error/warning somewhere for the user (either at an errors event endpoint or in the dashboard)
Not urgent just a nice to have that I ran in to today :)