Skip to content

Commit e889b3d

Browse files
feat(api): api update
1 parent f073049 commit e889b3d

File tree

4 files changed

+7
-15
lines changed

4 files changed

+7
-15
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: 30
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-0d7d82bff8a18b03e0cd1cbf8609c3026bb07db851bc6f9166032045a9925eea.yml
3-
openapi_spec_hash: 8ce211dfa6fece24b1413e91ba55210a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/replicate%2Freplicate-client-2088d647e7b0fd37dcf58ef48b8f01ed1a82ff797b9697ad10a7b6a5105e9e0f.yml
3+
openapi_spec_hash: 718f540e7c44501e1a8c7156ee45d595
44
config_hash: 927b6ebc00ee115763ad69483bbf5566

src/replicate/types/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from __future__ import annotations
44

55
from .prediction import Prediction as Prediction
6-
from .prediction_output import PredictionOutput as PredictionOutput
76
from .model_create_params import ModelCreateParams as ModelCreateParams
87
from .model_list_response import ModelListResponse as ModelListResponse
98
from .model_search_params import ModelSearchParams as ModelSearchParams

src/replicate/types/prediction.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing_extensions import Literal
66

77
from .._models import BaseModel
8-
from .prediction_output import PredictionOutput
98

109
__all__ = ["Prediction", "URLs"]
1110

@@ -39,7 +38,11 @@ class Prediction(BaseModel):
3938
model: str
4039
"""The name of the model that created the prediction"""
4140

42-
output: PredictionOutput
41+
output: object
42+
"""
43+
The prediction output, which can be any JSON-serializable value, depending on
44+
the model
45+
"""
4346

4447
status: Literal["starting", "processing", "succeeded", "failed", "canceled"]
4548

src/replicate/types/prediction_output.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)