replicate / replicate-go

Go client for Replicate
https://replicate.com
Apache License 2.0
65 stars 9 forks source link

Add support for `DELETE /models/{modelOwner}/{modelName}/versions/{versionID}` endpoint #48

Closed mehmettokgoz closed 6 months ago

mehmettokgoz commented 6 months ago

This PR adds support for deleting a model version.

If I'm not mistaken, HTTP endpoint is currently not supported by either JS or Python client libraries.

It might be worth considering adding support for other client libraries as well.

mattt commented 6 months ago

Thanks, @mehmettokgoz. You're absolutely correct that this endpoint was missing from the Go client. Merging this now and cutting a new release.

mattt commented 6 months ago

This is now available in v0.18.0. Thanks again, @mehmettokgoz!