Skip to content

Commit 5e7effd

Browse files
chore: update OpenAPI spec and rebuild SDKs
1 parent 30d1282 commit 5e7effd

File tree

5 files changed

+30
-2
lines changed

5 files changed

+30
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 35
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-866189e1aee643ae0367afba800d0e16239121deb5693a90ede9240b4053e9b3.yml
3-
openapi_spec_hash: 66b891957e455776e5bec76b033ec8e8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-ef27a524fc72ff1a73c4dc3b4604071dfc559591df569f029778027959c14e65.yml
3+
openapi_spec_hash: f542ad112db61131be0103fe95caae72
44
config_hash: b1b4f5d24ba07b4667ffe7b9dec081e3

src/replicate/types/collection_get_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ class Model(BaseModel):
2323
github_url: Optional[str] = None
2424
"""A URL for the model's source code on GitHub"""
2525

26+
is_official: Optional[bool] = None
27+
"""Boolean indicating whether the model is officially maintained by Replicate.
28+
29+
Official models are always on, have stable API interfaces, and predictable
30+
pricing.
31+
"""
32+
2633
latest_version: Optional[VersionGetResponse] = None
2734
"""The model's latest version"""
2835

src/replicate/types/model_create_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ class ModelCreateResponse(BaseModel):
2222
github_url: Optional[str] = None
2323
"""A URL for the model's source code on GitHub"""
2424

25+
is_official: Optional[bool] = None
26+
"""Boolean indicating whether the model is officially maintained by Replicate.
27+
28+
Official models are always on, have stable API interfaces, and predictable
29+
pricing.
30+
"""
31+
2532
latest_version: Optional[VersionGetResponse] = None
2633
"""The model's latest version"""
2734

src/replicate/types/model_get_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ class ModelGetResponse(BaseModel):
2222
github_url: Optional[str] = None
2323
"""A URL for the model's source code on GitHub"""
2424

25+
is_official: Optional[bool] = None
26+
"""Boolean indicating whether the model is officially maintained by Replicate.
27+
28+
Official models are always on, have stable API interfaces, and predictable
29+
pricing.
30+
"""
31+
2532
latest_version: Optional[VersionGetResponse] = None
2633
"""The model's latest version"""
2734

src/replicate/types/model_list_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ class ModelListResponse(BaseModel):
2222
github_url: Optional[str] = None
2323
"""A URL for the model's source code on GitHub"""
2424

25+
is_official: Optional[bool] = None
26+
"""Boolean indicating whether the model is officially maintained by Replicate.
27+
28+
Official models are always on, have stable API interfaces, and predictable
29+
pricing.
30+
"""
31+
2532
latest_version: Optional[VersionGetResponse] = None
2633
"""The model's latest version"""
2734

0 commit comments

Comments
 (0)