diff --git a/generated_types.json b/generated_types.json index c4bc8ec0..3ad53caf 100644 --- a/generated_types.json +++ b/generated_types.json @@ -8361,6 +8361,10 @@ "data": { "type": "array", "items": {} + }, + "source_dataset_id": { + "type": "string", + "description": "The saved dataset these rows came from. Its project scopes saved simulated-user references; the caller must have read access to the dataset and source project." } }, "required": [ @@ -9620,6 +9624,7 @@ "scorers", "classifiers", "logs", + "patterns", "monitor", "for_review_project_log", "for_review_experiments", @@ -10380,12 +10385,12 @@ "claude-code", "pi" ], - "description": "Required when saving a Loop automation. Currently only Codex is supported." + "description": "Required for an explicit model selection. Currently only Codex is supported." }, "model": { "type": "string", "minLength": 1, - "description": "Required when saving a Loop automation." + "description": "Omit harness, model, and endpoint_name to inherit the organization default provider and its recommended execution settings." }, "endpoint_name": { "type": "string", diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 402826cf..cb2eeb33 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -2508,6 +2508,10 @@ class RunEvalData1(TypedDict): class RunEvalData2(TypedDict): data: Sequence[Any] + source_dataset_id: NotRequired[str | None] + """ + The saved dataset these rows came from. Its project scopes saved simulated-user references; the caller must have read access to the dataset and source project. + """ class RunEvalData3(TypedDict): @@ -3312,11 +3316,11 @@ class WindowedAutomationConfigLoop(TypedDict): """ harness: NotRequired[Literal['native', 'codex', 'claude-code', 'pi'] | None] """ - Required when saving a Loop automation. Currently only Codex is supported. + Required for an explicit model selection. Currently only Codex is supported. """ model: NotRequired[str | None] """ - Required when saving a Loop automation. + Omit harness, model, and endpoint_name to inherit the organization default provider and its recommended execution settings. """ endpoint_name: NotRequired[str | None] reasoning_effort: NotRequired[ @@ -4663,6 +4667,7 @@ class View(TypedDict): 'scorers', 'classifiers', 'logs', + 'patterns', 'monitor', 'for_review_project_log', 'for_review_experiments', diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index 1e306d12..a9c81de3 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash d163b3ea1f33b2fd) -- do not modify""" +"""Auto-generated file (content hash a267a26ed981fe1e) -- do not modify""" from ._generated_types import ( Acl,