Closed detkov closed 2 months ago
Hi @detkov. Thanks for reporting. I believe this is a problem with the API, so I'll work with the team to get this fixed.
Following up — I just opened https://github.com/replicate/replicate-python/pull/359 to fix what we can on the client. I also filed a ticket internally to get the API to respond with something more helpful when a model isn't found ("No ModelRedirect matches the given query." is a red herring).
I had a model
model
without a version (it was there, but I deleted it):I tried to delete it and got the following error:
However, when trying to get this model using, another error occurs, which means that the model was indeed deleted:
So it seems to me that the problem is somewhere in the
replicate.models.delete
response decoding.replicate==0.33.0