Skip to content
Open
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
26 changes: 24 additions & 2 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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": [
Expand Down Expand Up @@ -10721,6 +10724,25 @@
"null"
]
},
"targetInterval": {
"anyOf": [
{
"type": "string",
"enum": [
"day",
"week"
]
},
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 604800
},
{
"type": "null"
}
]
},
"tzUTC": {
"type": [
"boolean",
Expand Down
7 changes: 6 additions & 1 deletion py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion py/src/braintrust/generated_types.py
Original file line number Diff line number Diff line change
@@ -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,
Expand Down