From e254409d966fe2e582c5ac63f06329abf5f517ef Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 05:36:22 +0000 Subject: [PATCH] chore: Update platform types --- generated_types.json | 24 +++++----- py/src/braintrust/_generated_types.py | 68 +++++---------------------- py/src/braintrust/generated_types.py | 2 +- 3 files changed, 25 insertions(+), 69 deletions(-) diff --git a/generated_types.json b/generated_types.json index 3ad53caf..6ff0bdb9 100644 --- a/generated_types.json +++ b/generated_types.json @@ -2126,7 +2126,7 @@ }, "snapshot_ref": { "type": "string", - "description": "sandbox snapshot ref" + "description": "The Modal snapshot to start the sandbox from" } }, "required": [ @@ -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": { @@ -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• — `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": [ @@ -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• — `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": [ @@ -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": { @@ -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": [ @@ -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• — `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": [ @@ -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• — `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": [ diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index cb2eeb33..7d145ec7 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -561,7 +561,7 @@ class CodeBundleLocation2SandboxSpec(TypedDict): provider: Literal['modal'] snapshot_ref: str """ - sandbox snapshot ref + The Modal snapshot to start the sandbox from """ @@ -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. """ @@ -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: - • — `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 """ @@ -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: - • — `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 """ @@ -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. """ @@ -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: - • — `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 """ @@ -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: - • — `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 """ @@ -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] """ diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index a9c81de3..e883efce 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -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,