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
33 changes: 32 additions & 1 deletion generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -10130,7 +10130,8 @@
"null"
],
"enum": [
"patterns"
"patterns",
"dashboard"
],
"description": "The product surface that created and manages the automation"
},
Expand Down Expand Up @@ -10397,6 +10398,36 @@
"xhigh",
"max"
]
},
"target": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"dashboard"
]
},
"id": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "string",
"enum": [
"overview"
]
}
]
}
},
"required": [
"type",
"id"
],
"description": "The object this automation writes to or maintains"
}
},
"required": [
Expand Down
11 changes: 10 additions & 1 deletion py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3288,6 +3288,11 @@ class WindowedAutomationConfigWindow(TypedDict):
"""


class WindowedAutomationConfigLoopTarget(TypedDict):
type: Literal['dashboard']
id: str | Literal['overview']


class WindowedAutomationConfigLoop(TypedDict):
prompt: str
"""
Expand Down Expand Up @@ -3317,6 +3322,10 @@ class WindowedAutomationConfigLoop(TypedDict):
reasoning_effort: NotRequired[
Literal['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'max']
]
target: NotRequired[WindowedAutomationConfigLoopTarget | None]
"""
The object this automation writes to or maintains
"""


class WindowedAutomationConfigActions(TypedDict):
Expand Down Expand Up @@ -3389,7 +3398,7 @@ class WindowedAutomationConfig(TypedDict):
"""
The type of automation.
"""
product_origin: NotRequired[Literal['patterns'] | None]
product_origin: NotRequired[Literal['patterns', 'dashboard'] | None]
"""
The product surface that created and manages the automation
"""
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 4c7189b4e4362aae) -- do not modify"""
"""Auto-generated file (content hash d62d072d8da8415e) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down
Loading