@@ -906,11 +906,11 @@ def accumulate_run_step(
906
906
merged = accumulate_delta (
907
907
cast (
908
908
"dict[object, object]" ,
909
- snapshot .model_dump (exclude_unset = True ),
909
+ snapshot .model_dump (exclude_unset = True , warnings = False ),
910
910
),
911
911
cast (
912
912
"dict[object, object]" ,
913
- data .delta .model_dump (exclude_unset = True ),
913
+ data .delta .model_dump (exclude_unset = True , warnings = False ),
914
914
),
915
915
)
916
916
run_step_snapshots [snapshot .id ] = cast (RunStep , construct_type (type_ = RunStep , value = merged ))
@@ -948,7 +948,7 @@ def accumulate_event(
948
948
construct_type (
949
949
# mypy doesn't allow Content for some reason
950
950
type_ = cast (Any , MessageContent ),
951
- value = content_delta .model_dump (exclude_unset = True ),
951
+ value = content_delta .model_dump (exclude_unset = True , warnings = False ),
952
952
),
953
953
),
954
954
)
@@ -957,11 +957,11 @@ def accumulate_event(
957
957
merged = accumulate_delta (
958
958
cast (
959
959
"dict[object, object]" ,
960
- block .model_dump (exclude_unset = True ),
960
+ block .model_dump (exclude_unset = True , warnings = False ),
961
961
),
962
962
cast (
963
963
"dict[object, object]" ,
964
- content_delta .model_dump (exclude_unset = True ),
964
+ content_delta .model_dump (exclude_unset = True , warnings = False ),
965
965
),
966
966
)
967
967
current_message_snapshot .content [content_delta .index ] = cast (
0 commit comments