Skip to content

Commit c8389b1

Browse files
feat(api): api update (#580)
1 parent 73a814f commit c8389b1

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 78
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-135977a36f92e43542ef10b01c0762706df01cfb6938ae0cd011aca2f22b3699.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-3542d28a321a2d5ae372d8e99dc615fbda814a223e1c15717c37727a1dd00ff1.yml

src/runloop_api_client/types/scoring_function.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ class ScorerCommandScoringFunction(BaseModel):
5555

5656

5757
class ScorerCustomScoringFunction(BaseModel):
58+
custom_scorer_type: str
59+
"""Type of the scoring function, previously registered with Runloop."""
60+
5861
type: Literal["custom_scorer"]
5962

6063
scorer_params: Optional[object] = None

src/runloop_api_client/types/scoring_function_param.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ class ScorerCommandScoringFunction(TypedDict, total=False):
5454

5555

5656
class ScorerCustomScoringFunction(TypedDict, total=False):
57+
custom_scorer_type: Required[str]
58+
"""Type of the scoring function, previously registered with Runloop."""
59+
5760
type: Required[Literal["custom_scorer"]]
5861

5962
scorer_params: Optional[object]

0 commit comments

Comments
 (0)