From 5e113b36660627174524d166563e1e512b48f365 Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 22:37:16 +0000 Subject: [PATCH] chore: Update platform types --- generated_types.json | 12 ++++--- py/src/braintrust/_generated_types.py | 45 ++++++++++++++++++++++++--- py/src/braintrust/generated_types.py | 2 +- 3 files changed, 50 insertions(+), 9 deletions(-) diff --git a/generated_types.json b/generated_types.json index 7ccfea79..ab17f113 100644 --- a/generated_types.json +++ b/generated_types.json @@ -5651,7 +5651,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Instructions for Loop to format content sent to this destination" + "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\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 selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\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 from this run. Do not introduce new claims beyond the run report." } }, "required": [ @@ -5996,7 +5996,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Instructions for Loop to format content sent to this destination" + "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\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 selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\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 from this run. Do not introduce new claims beyond the run report." } }, "required": [ @@ -8676,7 +8676,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Instructions for Loop to format content sent to this destination" + "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\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 selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\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 from this run. Do not introduce new claims beyond the run report." } }, "required": [ @@ -9805,6 +9805,10 @@ "type": "string", "minLength": 1 }, + "endpoint_name": { + "type": "string", + "minLength": 1 + }, "reasoning_effort": { "type": "string", "enum": [ @@ -9880,7 +9884,7 @@ "type": "string", "minLength": 1, "maxLength": 10000, - "description": "Instructions for Loop to format content sent to this destination" + "description": "Publish a Slack mrkdwn digest.\n\nInclude a complete \"*Pattern outcomes*\" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes.\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 selected Pattern. If there are no selected Patterns, say \"No pattern outcomes.\"\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 from this run. Do not introduce new claims beyond the run report." } }, "required": [ diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 1accd2a8..75070660 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -1691,7 +1691,16 @@ class ProjectAutomationConfigAction1(TypedDict): """ formatting_prompt: NotRequired[str | None] """ - Instructions for Loop to format content sent to this destination + Publish a Slack mrkdwn digest. + + Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + + 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 selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + + 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 from this run. Do not introduce new claims beyond the run report. """ @@ -1817,7 +1826,16 @@ class ProjectAutomationConfig4Action1(TypedDict): """ formatting_prompt: NotRequired[str | None] """ - Instructions for Loop to format content sent to this destination + Publish a Slack mrkdwn digest. + + Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + + 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 selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + + 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 from this run. Do not introduce new claims beyond the run report. """ @@ -2663,7 +2681,16 @@ class TopicDigestAutomationConfigAction(TypedDict): """ formatting_prompt: NotRequired[str | None] """ - Instructions for Loop to format content sent to this destination + Publish a Slack mrkdwn digest. + + Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + + 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 selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + + 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 from this run. Do not introduce new claims beyond the run report. """ @@ -3061,6 +3088,7 @@ class WindowedAutomationConfigLoop(TypedDict): """ harness: NotRequired[Literal['native', 'codex', 'claude-code'] | None] model: NotRequired[str | None] + endpoint_name: NotRequired[str | None] reasoning_effort: NotRequired[ Literal['none', 'minimal', 'low', 'medium', 'high', 'xhigh', 'max'] ] @@ -3100,7 +3128,16 @@ class WindowedAutomationConfigActions1(TypedDict): """ formatting_prompt: NotRequired[str | None] """ - Instructions for Loop to format content sent to this destination + Publish a Slack mrkdwn digest. + + Include a complete "*Pattern outcomes*" section with one row for every selected Pattern from the run report, including created, updated, unchanged, failed, skipped, and newly inactive outcomes. + + 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 selected Pattern. If there are no selected Patterns, say "No pattern outcomes." + + 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 from this run. Do not introduce new claims beyond the run report. """ diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index f2d72c38..c22bb204 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash 9963a3f7375263a4) -- do not modify""" +"""Auto-generated file (content hash a987538bfc6c9ff3) -- do not modify""" from ._generated_types import ( Acl,