diff --git a/.stats.yml b/.stats.yml index 0805f23e6..8ee679fca 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 78 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-4ac5f2286270f1f2c2b41e7f57fcc0527f602ce8d9383c790ed40ce21236e0cf.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-135977a36f92e43542ef10b01c0762706df01cfb6938ae0cd011aca2f22b3699.yml diff --git a/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py b/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py index 9bddac9a4..fdcb72023 100644 --- a/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py +++ b/src/runloop_api_client/types/devboxes/devbox_logs_list_view.py @@ -12,7 +12,7 @@ class Log(BaseModel): level: str """Log line severity level.""" - source: Literal["setup_commands", "entrypoint", "exec", "files"] + source: Literal["setup_commands", "entrypoint", "exec", "files", "stats"] """The source of the log.""" timestamp_ms: int diff --git a/src/runloop_api_client/types/scoring_function.py b/src/runloop_api_client/types/scoring_function.py index d3035fe0f..08a0a9f1d 100644 --- a/src/runloop_api_client/types/scoring_function.py +++ b/src/runloop_api_client/types/scoring_function.py @@ -21,7 +21,11 @@ class ScorerAstGrepScoringFunction(BaseModel): pattern: str - """AST pattern to match.""" + """AST pattern to match. + + Pattern will be passed to ast-grep using the commandline surround by double + quotes ("), so make sure to use proper escaping (for example, \\$$\\$$\\$$). + """ search_directory: str """The path to search.""" diff --git a/src/runloop_api_client/types/scoring_function_param.py b/src/runloop_api_client/types/scoring_function_param.py index 7488a9707..e2f7bd506 100644 --- a/src/runloop_api_client/types/scoring_function_param.py +++ b/src/runloop_api_client/types/scoring_function_param.py @@ -20,7 +20,11 @@ class ScorerAstGrepScoringFunction(TypedDict, total=False): pattern: Required[str] - """AST pattern to match.""" + """AST pattern to match. + + Pattern will be passed to ast-grep using the commandline surround by double + quotes ("), so make sure to use proper escaping (for example, \\$$\\$$\\$$). + """ search_directory: Required[str] """The path to search."""