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
24 changes: 12 additions & 12 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -2126,7 +2126,7 @@
},
"snapshot_ref": {
"type": "string",
"description": "sandbox snapshot ref"
"description": "The Modal snapshot to start the sandbox from"
}
},
"required": [
Expand Down Expand Up @@ -2917,13 +2917,13 @@
"description": "The total number of tokens in the input and output of the experiment event."
},
"caller_functionname": {
"description": "This metric is deprecated"
"description": "Deprecated. Use `context.caller_functionname` instead."
},
"caller_filename": {
"description": "This metric is deprecated"
"description": "Deprecated. Use `context.caller_filename` instead."
},
"caller_lineno": {
"description": "This metric is deprecated"
"description": "Deprecated. Use `context.caller_lineno` instead."
}
},
"additionalProperties": {
Expand Down Expand Up @@ -6021,7 +6021,7 @@
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• <pattern_url|Pattern title> — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report."
"description": "Instructions for Loop to format content sent to this destination"
}
},
"required": [
Expand Down Expand Up @@ -6408,7 +6408,7 @@
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• <pattern_url|Pattern title> — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report."
"description": "Instructions for Loop to format content sent to this destination"
}
},
"required": [
Expand Down Expand Up @@ -6699,13 +6699,13 @@
"description": "The total number of tokens in the input and output of the project logs event."
},
"caller_functionname": {
"description": "This metric is deprecated"
"description": "Deprecated. Use `context.caller_functionname` instead."
},
"caller_filename": {
"description": "This metric is deprecated"
"description": "Deprecated. Use `context.caller_filename` instead."
},
"caller_lineno": {
"description": "This metric is deprecated"
"description": "Deprecated. Use `context.caller_lineno` instead."
}
},
"additionalProperties": {
Expand Down Expand Up @@ -8457,7 +8457,7 @@
"number",
"null"
],
"description": "The maximum duration, in milliseconds, to run the evaluation. Defaults to undefined, in which case there is no timeout."
"description": "The maximum duration, in milliseconds, to run the evaluation. There is no timeout by default."
},
"max_concurrency": {
"type": [
Expand Down Expand Up @@ -9246,7 +9246,7 @@
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• <pattern_url|Pattern title> — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report."
"description": "Instructions for Loop to format content sent to this destination"
}
},
"required": [
Expand Down Expand Up @@ -10501,7 +10501,7 @@
"type": "string",
"minLength": 1,
"maxLength": 10000,
"description": "Publish a Slack mrkdwn digest.\n\nPattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say \"No current pattern outcomes.\" This requirement overrides conflicting formatting guidance.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every included Pattern.\n\nUse this row format exactly:\n• <pattern_url|Pattern title> — `outcome`\n\nIf a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.\n\nAfter the outcome list, include a \"*Highlights*\" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report."
"description": "Instructions for Loop to format content sent to this destination"
}
},
"required": [
Expand Down
68 changes: 12 additions & 56 deletions py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ class CodeBundleLocation2SandboxSpec(TypedDict):
provider: Literal['modal']
snapshot_ref: str
"""
sandbox snapshot ref
The Modal snapshot to start the sandbox from
"""


Expand Down Expand Up @@ -761,15 +761,15 @@ class ExperimentEventMetrics(TypedDict):
"""
caller_functionname: NotRequired[Any | None]
"""
This metric is deprecated
Deprecated. Use `context.caller_functionname` instead.
"""
caller_filename: NotRequired[Any | None]
"""
This metric is deprecated
Deprecated. Use `context.caller_filename` instead.
"""
caller_lineno: NotRequired[Any | None]
"""
This metric is deprecated
Deprecated. Use `context.caller_lineno` instead.
"""


Expand Down Expand Up @@ -1822,18 +1822,7 @@ class ProjectAutomationConfigAction1(TypedDict):
"""
formatting_prompt: NotRequired[str | None]
"""
Publish a Slack mrkdwn digest.

Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance.

Include a complete "*Pattern outcomes*" section with one row for every included Pattern.

Use this row format exactly:
• <pattern_url|Pattern title> — `outcome`

If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.

After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report.
Instructions for Loop to format content sent to this destination
"""


Expand Down Expand Up @@ -1983,18 +1972,7 @@ class ProjectAutomationConfig4Action1(TypedDict):
"""
formatting_prompt: NotRequired[str | None]
"""
Publish a Slack mrkdwn digest.

Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance.

Include a complete "*Pattern outcomes*" section with one row for every included Pattern.

Use this row format exactly:
• <pattern_url|Pattern title> — `outcome`

If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.

After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report.
Instructions for Loop to format content sent to this destination
"""


Expand Down Expand Up @@ -2106,15 +2084,15 @@ class ProjectLogsEventMetrics(TypedDict):
"""
caller_functionname: NotRequired[Any | None]
"""
This metric is deprecated
Deprecated. Use `context.caller_functionname` instead.
"""
caller_filename: NotRequired[Any | None]
"""
This metric is deprecated
Deprecated. Use `context.caller_filename` instead.
"""
caller_lineno: NotRequired[Any | None]
"""
This metric is deprecated
Deprecated. Use `context.caller_lineno` instead.
"""


Expand Down Expand Up @@ -2901,18 +2879,7 @@ class TopicDigestAutomationConfigAction(TypedDict):
"""
formatting_prompt: NotRequired[str | None]
"""
Publish a Slack mrkdwn digest.

Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance.

Include a complete "*Pattern outcomes*" section with one row for every included Pattern.

Use this row format exactly:
• <pattern_url|Pattern title> — `outcome`

If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.

After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report.
Instructions for Loop to format content sent to this destination
"""


Expand Down Expand Up @@ -3366,18 +3333,7 @@ class WindowedAutomationConfigActions1(TypedDict):
"""
formatting_prompt: NotRequired[str | None]
"""
Publish a Slack mrkdwn digest.

Pattern selection requirement: include every selected Pattern whose final status is active at the end of this automation run, plus every selected Pattern that changed from active to inactive during this run (a newly inactive outcome). Exclude Patterns that were already inactive before this run and remained inactive. Do not mention excluded Patterns anywhere in the digest, including Highlights. If no selected Patterns meet these criteria, say "No current pattern outcomes." This requirement overrides conflicting formatting guidance.

Include a complete "*Pattern outcomes*" section with one row for every included Pattern.

Use this row format exactly:
• <pattern_url|Pattern title> — `outcome`

If a Pattern has no URL, use the plain title instead. Do not use GitHub Markdown tables or code-block tables, because links must remain clickable. Do not omit any active selected Pattern.

After the outcome list, include a "*Highlights*" section with one very short paragraph, 2-3 sentences maximum. Summarize what changed or what broadly stands out among the included active Patterns. Do not introduce new claims beyond the run report.
Instructions for Loop to format content sent to this destination
"""


Expand Down Expand Up @@ -4886,7 +4842,7 @@ class RunEval(TypedDict):
"""
timeout: NotRequired[float | None]
"""
The maximum duration, in milliseconds, to run the evaluation. Defaults to undefined, in which case there is no timeout.
The maximum duration, in milliseconds, to run the evaluation. There is no timeout by default.
"""
max_concurrency: NotRequired[float | 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 a267a26ed981fe1e) -- do not modify"""
"""Auto-generated file (content hash 90bbc48d83b24276) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down
Loading