From 7ce47560e2292b7ba37aeec0e6b41e396d342d2b Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2026 01:06:55 +0000 Subject: [PATCH] chore: Update platform types --- generated_types.json | 26 ++++++++++++++++++++++++-- py/src/braintrust/_generated_types.py | 7 ++++++- py/src/braintrust/generated_types.py | 2 +- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/generated_types.json b/generated_types.json index aa527251..92702bfc 100644 --- a/generated_types.json +++ b/generated_types.json @@ -7771,6 +7771,10 @@ "format": "uuid", "description": "The project MCP server that reads this source." }, + "disabled": { + "type": "boolean", + "description": "Whether Patterns skips this source. Unset means enabled." + }, "instructions": { "type": [ "string", @@ -7785,8 +7789,7 @@ "mcp_server_id" ] }, - "maxItems": 10, - "description": "Sources outside Braintrust that Patterns reads alongside this project's logs, each through a project MCP server." + "description": "Sources outside Braintrust that Patterns reads alongside this project's logs, each through a project MCP server. Up to 10 sources can be enabled." }, "pattern_excluded_categories": { "type": [ @@ -10721,6 +10724,25 @@ "null" ] }, + "targetInterval": { + "anyOf": [ + { + "type": "string", + "enum": [ + "day", + "week" + ] + }, + { + "type": "integer", + "exclusiveMinimum": 0, + "maximum": 604800 + }, + { + "type": "null" + } + ] + }, "tzUTC": { "type": [ "boolean", diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 820871f1..198875ef 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -2389,6 +2389,10 @@ class ProjectSettingsPatternSource(TypedDict): """ The project MCP server that reads this source. """ + disabled: NotRequired[bool | None] + """ + Whether Patterns skips this source. Unset means enabled. + """ instructions: NotRequired[str | None] """ What the user wants Patterns to look for in this source, in their own words. @@ -2463,7 +2467,7 @@ class ProjectSettings(TypedDict): """ pattern_sources: NotRequired[Sequence[ProjectSettingsPatternSource] | None] """ - Sources outside Braintrust that Patterns reads alongside this project's logs, each through a project MCP server. + Sources outside Braintrust that Patterns reads alongside this project's logs, each through a project MCP server. Up to 10 sources can be enabled. """ pattern_excluded_categories: NotRequired[ Sequence[ProjectSettingsPatternExcludedCategory] @@ -3510,6 +3514,7 @@ class ViewOptionsViewOptionsOptions(TypedDict): rangeValue: NotRequired[str | None] frameStart: NotRequired[str | None] frameEnd: NotRequired[str | None] + targetInterval: NotRequired[Literal['day', 'week'] | int | None] tzUTC: NotRequired[bool | None] chartVisibility: NotRequired[Mapping[str, Any] | None] projectId: NotRequired[str | None] diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index 3790099d..e6c4e401 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash 7e06970c443e80d0) -- do not modify""" +"""Auto-generated file (content hash e978ab885171c732) -- do not modify""" from ._generated_types import ( Acl,