diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 806e32b..e429c67 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.0.0-alpha.24" + ".": "2.0.0-alpha.25" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 23e69b5..a536750 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 35 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-866189e1aee643ae0367afba800d0e16239121deb5693a90ede9240b4053e9b3.yml -openapi_spec_hash: 66b891957e455776e5bec76b033ec8e8 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-87c7c57bd75c54990c679c9e87d009851cdff572815a55d1b6ee4d4ee20adaa1.yml +openapi_spec_hash: d987f14befa536004eece7b49caad993 config_hash: b1b4f5d24ba07b4667ffe7b9dec081e3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 3313282..a7b7d12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.0.0-alpha.25 (2025-09-15) + +Full Changelog: [v2.0.0-alpha.24...v2.0.0-alpha.25](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.24...v2.0.0-alpha.25) + +### Chores + +* update OpenAPI spec and rebuild SDKs ([5e7effd](https://github.com/replicate/replicate-python-stainless/commit/5e7effd94a0e68373d91c57205f639dae022efc4)) + ## 2.0.0-alpha.24 (2025-09-11) Full Changelog: [v2.0.0-alpha.23...v2.0.0-alpha.24](https://github.com/replicate/replicate-python-stainless/compare/v2.0.0-alpha.23...v2.0.0-alpha.24) diff --git a/pyproject.toml b/pyproject.toml index 3e26bf3..c0ff437 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "replicate" -version = "2.0.0-alpha.24" +version = "2.0.0-alpha.25" description = "The official Python library for the replicate API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/replicate/_version.py b/src/replicate/_version.py index 8e98d18..8060a57 100644 --- a/src/replicate/_version.py +++ b/src/replicate/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "replicate" -__version__ = "2.0.0-alpha.24" # x-release-please-version +__version__ = "2.0.0-alpha.25" # x-release-please-version diff --git a/src/replicate/types/collection_get_response.py b/src/replicate/types/collection_get_response.py index 51f3706..0573b66 100644 --- a/src/replicate/types/collection_get_response.py +++ b/src/replicate/types/collection_get_response.py @@ -23,6 +23,13 @@ class Model(BaseModel): github_url: Optional[str] = None """A URL for the model's source code on GitHub""" + is_official: Optional[bool] = None + """Boolean indicating whether the model is officially maintained by Replicate. + + Official models are always on, have stable API interfaces, and predictable + pricing. + """ + latest_version: Optional[VersionGetResponse] = None """The model's latest version""" diff --git a/src/replicate/types/model_create_response.py b/src/replicate/types/model_create_response.py index 935b58e..e2ac137 100644 --- a/src/replicate/types/model_create_response.py +++ b/src/replicate/types/model_create_response.py @@ -22,6 +22,13 @@ class ModelCreateResponse(BaseModel): github_url: Optional[str] = None """A URL for the model's source code on GitHub""" + is_official: Optional[bool] = None + """Boolean indicating whether the model is officially maintained by Replicate. + + Official models are always on, have stable API interfaces, and predictable + pricing. + """ + latest_version: Optional[VersionGetResponse] = None """The model's latest version""" diff --git a/src/replicate/types/model_get_response.py b/src/replicate/types/model_get_response.py index 27f1dfb..2a675b4 100644 --- a/src/replicate/types/model_get_response.py +++ b/src/replicate/types/model_get_response.py @@ -22,6 +22,13 @@ class ModelGetResponse(BaseModel): github_url: Optional[str] = None """A URL for the model's source code on GitHub""" + is_official: Optional[bool] = None + """Boolean indicating whether the model is officially maintained by Replicate. + + Official models are always on, have stable API interfaces, and predictable + pricing. + """ + latest_version: Optional[VersionGetResponse] = None """The model's latest version""" diff --git a/src/replicate/types/model_list_response.py b/src/replicate/types/model_list_response.py index 807f88e..7ae1914 100644 --- a/src/replicate/types/model_list_response.py +++ b/src/replicate/types/model_list_response.py @@ -22,6 +22,13 @@ class ModelListResponse(BaseModel): github_url: Optional[str] = None """A URL for the model's source code on GitHub""" + is_official: Optional[bool] = None + """Boolean indicating whether the model is officially maintained by Replicate. + + Official models are always on, have stable API interfaces, and predictable + pricing. + """ + latest_version: Optional[VersionGetResponse] = None """The model's latest version"""