Skip to content

Commit a4bdae2

Browse files
chore: update OpenAPI spec and rebuild SDKs
1 parent 40f38a7 commit a4bdae2

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
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: 36
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-87c7c57bd75c54990c679c9e87d009851cdff572815a55d1b6ee4d4ee20adaa1.yml
3-
openapi_spec_hash: d987f14befa536004eece7b49caad993
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-a7e12a7c7df8c6596c7ca7d1ee26992bf3dcca90b553a66e15118fcd892e27f6.yml
3+
openapi_spec_hash: 33ca30d22504063d2248459550f9cb3b
44
config_hash: 407acf62c906ee301314f2d23cdb58b1

src/replicate/resources/deployments/predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def create(
111111
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
112112
113113
This field is no longer needed as the returned prediction will always have a
114-
`stream` entry in its `url` property if the model supports streaming.
114+
`stream` entry in its `urls` property if the model supports streaming.
115115
116116
webhook: An HTTPS URL for receiving a webhook when the prediction has new output. The
117117
webhook will be a POST request where the request body is the same as the
@@ -268,7 +268,7 @@ async def create(
268268
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
269269
270270
This field is no longer needed as the returned prediction will always have a
271-
`stream` entry in its `url` property if the model supports streaming.
271+
`stream` entry in its `urls` property if the model supports streaming.
272272
273273
webhook: An HTTPS URL for receiving a webhook when the prediction has new output. The
274274
webhook will be a POST request where the request body is the same as the

src/replicate/resources/models/predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def create(
118118
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
119119
120120
This field is no longer needed as the returned prediction will always have a
121-
`stream` entry in its `url` property if the model supports streaming.
121+
`stream` entry in its `urls` property if the model supports streaming.
122122
123123
webhook: An HTTPS URL for receiving a webhook when the prediction has new output. The
124124
webhook will be a POST request where the request body is the same as the
@@ -280,7 +280,7 @@ async def create(
280280
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
281281
282282
This field is no longer needed as the returned prediction will always have a
283-
`stream` entry in its `url` property if the model supports streaming.
283+
`stream` entry in its `urls` property if the model supports streaming.
284284
285285
webhook: An HTTPS URL for receiving a webhook when the prediction has new output. The
286286
webhook will be a POST request where the request body is the same as the

src/replicate/resources/predictions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def create(
138138
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
139139
140140
This field is no longer needed as the returned prediction will always have a
141-
`stream` entry in its `url` property if the model supports streaming.
141+
`stream` entry in its `urls` property if the model supports streaming.
142142
143143
webhook: An HTTPS URL for receiving a webhook when the prediction has new output. The
144144
webhook will be a POST request where the request body is the same as the
@@ -589,7 +589,7 @@ async def create(
589589
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
590590
591591
This field is no longer needed as the returned prediction will always have a
592-
`stream` entry in its `url` property if the model supports streaming.
592+
`stream` entry in its `urls` property if the model supports streaming.
593593
594594
webhook: An HTTPS URL for receiving a webhook when the prediction has new output. The
595595
webhook will be a POST request where the request body is the same as the

src/replicate/types/deployments/prediction_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class PredictionCreateParams(TypedDict, total=False):
4747
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
4848
4949
This field is no longer needed as the returned prediction will always have a
50-
`stream` entry in its `url` property if the model supports streaming.
50+
`stream` entry in its `urls` property if the model supports streaming.
5151
"""
5252

5353
webhook: str

src/replicate/types/models/prediction_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class PredictionCreateParams(TypedDict, total=False):
4747
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
4848
4949
This field is no longer needed as the returned prediction will always have a
50-
`stream` entry in its `url` property if the model supports streaming.
50+
`stream` entry in its `urls` property if the model supports streaming.
5151
"""
5252

5353
webhook: str

src/replicate/types/prediction_create_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class PredictionCreateParamsWithoutVersion(TypedDict, total=False):
4343
[server-sent events (SSE)](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events).
4444
4545
This field is no longer needed as the returned prediction will always have a
46-
`stream` entry in its `url` property if the model supports streaming.
46+
`stream` entry in its `urls` property if the model supports streaming.
4747
"""
4848

4949
webhook: str

0 commit comments

Comments
 (0)