From dafb312a00378e10a5d3f7ff33a8a9d6cc3b0de0 Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Fri, 25 Sep 2026 00:28:15 +0000 Subject: [PATCH] chore: Update platform types --- generated_types.json | 18 ++++++++++++++++++ py/src/braintrust/_generated_types.py | 10 ++++++++++ py/src/braintrust/generated_types.py | 2 +- 3 files changed, 29 insertions(+), 1 deletion(-) diff --git a/generated_types.json b/generated_types.json index fae8cadd..73aa1312 100644 --- a/generated_types.json +++ b/generated_types.json @@ -383,6 +383,15 @@ "high" ] }, + "chat_template_kwargs": { + "type": "object", + "properties": { + "enable_thinking": { + "type": "boolean" + } + }, + "additionalProperties": {} + }, "verbosity": { "type": "string", "enum": [ @@ -4963,6 +4972,15 @@ "high" ] }, + "chat_template_kwargs": { + "type": "object", + "properties": { + "enable_thinking": { + "type": "boolean" + } + }, + "additionalProperties": {} + }, "verbosity": { "type": "string", "enum": [ diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index f176cff3..c6db3544 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -118,6 +118,10 @@ class AnyModelParamsFunctionCall(TypedDict): name: str +class AnyModelParamsChatTemplateKwargs(TypedDict): + enable_thinking: NotRequired[bool | None] + + class ApiKey(TypedDict): id: str """ @@ -1485,6 +1489,10 @@ class ModelParamsModelParamsFunctionCall(TypedDict): name: str +class ModelParamsModelParamsChatTemplateKwargs(TypedDict): + enable_thinking: NotRequired[bool | None] + + class ModelParamsModelParams1(TypedDict): use_cache: NotRequired[bool | None] reasoning_enabled: NotRequired[bool | None] @@ -3294,6 +3302,7 @@ class AnyModelParams(TypedDict): n: NotRequired[float | None] stop: NotRequired[Sequence[str] | None] reasoning_effort: NotRequired[Literal['none', 'minimal', 'low', 'medium', 'high'] | None] + chat_template_kwargs: NotRequired[AnyModelParamsChatTemplateKwargs | None] verbosity: NotRequired[Literal['low', 'medium', 'high'] | None] top_k: NotRequired[float | None] stop_sequences: NotRequired[Sequence[str] | None] @@ -3697,6 +3706,7 @@ class ModelParamsModelParams(TypedDict): n: NotRequired[float | None] stop: NotRequired[Sequence[str] | None] reasoning_effort: NotRequired[Literal['none', 'minimal', 'low', 'medium', 'high'] | None] + chat_template_kwargs: NotRequired[ModelParamsModelParamsChatTemplateKwargs | None] verbosity: NotRequired[Literal['low', 'medium', 'high'] | None] diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index b762ffe7..f3c24988 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -1,4 +1,4 @@ -"""Auto-generated file (content hash 3afaef2c77c574a6) -- do not modify""" +"""Auto-generated file (content hash 43fa4b11de97efd6) -- do not modify""" from ._generated_types import ( Acl,