@@ -906,11 +906,11 @@ def accumulate_run_step(
906906 merged = accumulate_delta (
907907 cast (
908908 "dict[object, object]" ,
909- snapshot .model_dump (exclude_unset = True ),
909+ snapshot .model_dump (exclude_unset = True , warnings = False ),
910910 ),
911911 cast (
912912 "dict[object, object]" ,
913- data .delta .model_dump (exclude_unset = True ),
913+ data .delta .model_dump (exclude_unset = True , warnings = False ),
914914 ),
915915 )
916916 run_step_snapshots [snapshot .id ] = cast (RunStep , construct_type (type_ = RunStep , value = merged ))
@@ -948,7 +948,7 @@ def accumulate_event(
948948 construct_type (
949949 # mypy doesn't allow Content for some reason
950950 type_ = cast (Any , MessageContent ),
951- value = content_delta .model_dump (exclude_unset = True ),
951+ value = content_delta .model_dump (exclude_unset = True , warnings = False ),
952952 ),
953953 ),
954954 )
@@ -957,11 +957,11 @@ def accumulate_event(
957957 merged = accumulate_delta (
958958 cast (
959959 "dict[object, object]" ,
960- block .model_dump (exclude_unset = True ),
960+ block .model_dump (exclude_unset = True , warnings = False ),
961961 ),
962962 cast (
963963 "dict[object, object]" ,
964- content_delta .model_dump (exclude_unset = True ),
964+ content_delta .model_dump (exclude_unset = True , warnings = False ),
965965 ),
966966 )
967967 current_message_snapshot .content [content_delta .index ] = cast (
0 commit comments