@@ -212,6 +212,17 @@ class CallEventCallEvent7(TypedDict):
212212]
213213
214214
215+ class ChatCompletionContentPartFileFile (TypedDict ):
216+ file_data : NotRequired [Optional [str ]]
217+ filename : NotRequired [Optional [str ]]
218+ file_id : NotRequired [Optional [str ]]
219+
220+
221+ class ChatCompletionContentPartFileWithTitle (TypedDict ):
222+ file : ChatCompletionContentPartFileFile
223+ type : Literal ['file' ]
224+
225+
215226class ChatCompletionContentPartImageWithTitleImageUrl (TypedDict ):
216227 url : str
217228 detail : NotRequired [Optional [Union [Literal ['auto' ], Literal ['low' ], Literal ['high' ]]]]
@@ -342,7 +353,7 @@ class ChatCompletionTool(TypedDict):
342353
343354
344355class CodeBundleRuntimeContext (TypedDict ):
345- runtime : Literal ['node' , 'python' ]
356+ runtime : Literal ['node' , 'python' , 'browser' ]
346357 version : str
347358
348359
@@ -570,7 +581,7 @@ class Data(CodeBundle):
570581
571582
572583class FunctionDataFunctionData1DataRuntimeContext (TypedDict ):
573- runtime : Literal ['node' , 'python' ]
584+ runtime : Literal ['node' , 'python' , 'browser' ]
574585 version : str
575586
576587
@@ -649,7 +660,7 @@ class FunctionIdFunctionId3(TypedDict):
649660
650661
651662class FunctionIdFunctionId4InlineContext (TypedDict ):
652- runtime : Literal ['node' , 'python' ]
663+ runtime : Literal ['node' , 'python' , 'browser' ]
653664 version : str
654665
655666
@@ -668,7 +679,7 @@ class FunctionIdFunctionId4(TypedDict):
668679FunctionIdRef = Mapping [str , Any ]
669680
670681
671- FunctionObjectType = Literal ['prompt' , 'tool' , 'scorer' , 'task' , 'agent' ]
682+ FunctionObjectType = Literal ['prompt' , 'tool' , 'scorer' , 'task' , 'agent' , 'custom_view' ]
672683
673684
674685FunctionOutputType = Literal ['completion' , 'score' , 'any' ]
@@ -1854,7 +1865,7 @@ class AnyModelParams(TypedDict):
18541865 function_call : NotRequired [Optional [Union [Literal ['auto' ], Literal ['none' ], AnyModelParamsFunctionCall ]]]
18551866 n : NotRequired [Optional [float ]]
18561867 stop : NotRequired [Optional [Sequence [str ]]]
1857- reasoning_effort : NotRequired [Optional [Literal ['minimal' , 'low' , 'medium' , 'high' ]]]
1868+ reasoning_effort : NotRequired [Optional [Literal ['none' , ' minimal' , 'low' , 'medium' , 'high' ]]]
18581869 verbosity : NotRequired [Optional [Literal ['low' , 'medium' , 'high' ]]]
18591870 top_k : NotRequired [Optional [float ]]
18601871 stop_sequences : NotRequired [Optional [Sequence [str ]]]
@@ -1894,7 +1905,11 @@ class AttachmentStatus(TypedDict):
18941905 """
18951906
18961907
1897- ChatCompletionContentPart = Union [ChatCompletionContentPartTextWithTitle , ChatCompletionContentPartImageWithTitle ]
1908+ ChatCompletionContentPart = Union [
1909+ ChatCompletionContentPartTextWithTitle ,
1910+ ChatCompletionContentPartImageWithTitle ,
1911+ ChatCompletionContentPartFileWithTitle ,
1912+ ]
18981913
18991914
19001915class ChatCompletionMessageParamChatCompletionMessageParam1 (TypedDict ):
@@ -1993,6 +2008,14 @@ class DatasetEvent(TypedDict):
19932008 Whether this span is a root span
19942009 """
19952010 origin : NotRequired [Optional [ObjectReferenceNullish ]]
2011+ comments : NotRequired [Optional [Sequence [Any ]]]
2012+ """
2013+ Optional list of comments attached to this event
2014+ """
2015+ audit_data : NotRequired [Optional [Sequence [Any ]]]
2016+ """
2017+ Optional list of audit entries attached to this event
2018+ """
19962019
19972020
19982021class Experiment (TypedDict ):
@@ -2075,7 +2098,7 @@ class ModelParamsModelParams(TypedDict):
20752098 function_call : NotRequired [Optional [Union [Literal ['auto' ], Literal ['none' ], ModelParamsModelParamsFunctionCall ]]]
20762099 n : NotRequired [Optional [float ]]
20772100 stop : NotRequired [Optional [Sequence [str ]]]
2078- reasoning_effort : NotRequired [Optional [Literal ['minimal' , 'low' , 'medium' , 'high' ]]]
2101+ reasoning_effort : NotRequired [Optional [Literal ['none' , ' minimal' , 'low' , 'medium' , 'high' ]]]
20792102 verbosity : NotRequired [Optional [Literal ['low' , 'medium' , 'high' ]]]
20802103
20812104
@@ -2327,6 +2350,14 @@ class ExperimentEvent(TypedDict):
23272350 Whether this span is a root span
23282351 """
23292352 origin : NotRequired [Optional [ObjectReferenceNullish ]]
2353+ comments : NotRequired [Optional [Sequence [Any ]]]
2354+ """
2355+ Optional list of comments attached to this event
2356+ """
2357+ audit_data : NotRequired [Optional [Sequence [Any ]]]
2358+ """
2359+ Optional list of audit entries attached to this event
2360+ """
23302361
23312362
23322363class GraphNodeGraphNode7 (TypedDict ):
@@ -2437,6 +2468,18 @@ class ProjectLogsEvent(TypedDict):
24372468 """
24382469 span_attributes : NotRequired [Optional [SpanAttributes ]]
24392470 origin : NotRequired [Optional [ObjectReferenceNullish ]]
2471+ comments : NotRequired [Optional [Sequence [Any ]]]
2472+ """
2473+ Optional list of comments attached to this event
2474+ """
2475+ audit_data : NotRequired [Optional [Sequence [Any ]]]
2476+ """
2477+ Optional list of audit entries attached to this event
2478+ """
2479+ _async_scoring_state : NotRequired [Optional [Any ]]
2480+ """
2481+ The async scoring state for this event
2482+ """
24402483
24412484
24422485class ProjectScore (TypedDict ):
0 commit comments