Skip to content

Commit cf4f810

Browse files
feat(api): api update (#578)
1 parent 8ed0f7f commit cf4f810

4 files changed

Lines changed: 12 additions & 4 deletions

File tree

.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-4ac5f2286270f1f2c2b41e7f57fcc0527f602ce8d9383c790ed40ce21236e0cf.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-135977a36f92e43542ef10b01c0762706df01cfb6938ae0cd011aca2f22b3699.yml

src/runloop_api_client/types/devboxes/devbox_logs_list_view.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Log(BaseModel):
1212
level: str
1313
"""Log line severity level."""
1414

15-
source: Literal["setup_commands", "entrypoint", "exec", "files"]
15+
source: Literal["setup_commands", "entrypoint", "exec", "files", "stats"]
1616
"""The source of the log."""
1717

1818
timestamp_ms: int

src/runloop_api_client/types/scoring_function.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121

2222
class ScorerAstGrepScoringFunction(BaseModel):
2323
pattern: str
24-
"""AST pattern to match."""
24+
"""AST pattern to match.
25+
26+
Pattern will be passed to ast-grep using the commandline surround by double
27+
quotes ("), so make sure to use proper escaping (for example, \\$$\\$$\\$$).
28+
"""
2529

2630
search_directory: str
2731
"""The path to search."""

src/runloop_api_client/types/scoring_function_param.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020

2121
class ScorerAstGrepScoringFunction(TypedDict, total=False):
2222
pattern: Required[str]
23-
"""AST pattern to match."""
23+
"""AST pattern to match.
24+
25+
Pattern will be passed to ast-grep using the commandline surround by double
26+
quotes ("), so make sure to use proper escaping (for example, \\$$\\$$\\$$).
27+
"""
2428

2529
search_directory: Required[str]
2630
"""The path to search."""

0 commit comments

Comments
 (0)