Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion src/runloop_api_client/types/scoring_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down
6 changes: 5 additions & 1 deletion src/runloop_api_client/types/scoring_function_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""
Expand Down