@@ -536,6 +536,7 @@ class Data:
536536 post_compaction_tokens : Optional [float ] = None
537537 pre_compaction_messages_length : Optional [float ] = None
538538 pre_compaction_tokens : Optional [float ] = None
539+ request_id : Optional [str ] = None
539540 success : Optional [bool ] = None
540541 summary_content : Optional [str ] = None
541542 tokens_removed : Optional [float ] = None
@@ -642,6 +643,7 @@ def from_dict(obj: Any) -> 'Data':
642643 post_compaction_tokens = from_union ([from_float , from_none ], obj .get ("postCompactionTokens" ))
643644 pre_compaction_messages_length = from_union ([from_float , from_none ], obj .get ("preCompactionMessagesLength" ))
644645 pre_compaction_tokens = from_union ([from_float , from_none ], obj .get ("preCompactionTokens" ))
646+ request_id = from_union ([from_str , from_none ], obj .get ("requestId" ))
645647 success = from_union ([from_bool , from_none ], obj .get ("success" ))
646648 summary_content = from_union ([from_str , from_none ], obj .get ("summaryContent" ))
647649 tokens_removed = from_union ([from_float , from_none ], obj .get ("tokensRemoved" ))
@@ -694,7 +696,7 @@ def from_dict(obj: Any) -> 'Data':
694696 output = obj .get ("output" )
695697 metadata = from_union ([Metadata .from_dict , from_none ], obj .get ("metadata" ))
696698 role = from_union ([Role , from_none ], obj .get ("role" ))
697- return Data (context , copilot_version , producer , selected_model , session_id , start_time , version , event_count , resume_time , error_type , message , provider_call_id , stack , status_code , info_type , new_model , previous_model , handoff_time , remote_session_id , repository , source_type , summary , messages_removed_during_truncation , performed_by , post_truncation_messages_length , post_truncation_tokens_in_messages , pre_truncation_messages_length , pre_truncation_tokens_in_messages , token_limit , tokens_removed_during_truncation , events_removed , up_to_event_id , code_changes , current_model , error_reason , model_metrics , session_start_time , shutdown_type , total_api_duration_ms , total_premium_requests , current_tokens , messages_length , checkpoint_number , checkpoint_path , compaction_tokens_used , error , messages_removed , post_compaction_tokens , pre_compaction_messages_length , pre_compaction_tokens , success , summary_content , tokens_removed , attachments , content , source , transformed_content , turn_id , intent , reasoning_id , delta_content , encrypted_content , message_id , parent_tool_call_id , reasoning_opaque , reasoning_text , tool_requests , total_response_size_bytes , api_call_id , cache_read_tokens , cache_write_tokens , cost , duration , initiator , input_tokens , model , output_tokens , quota_snapshots , reason , arguments , tool_call_id , tool_name , mcp_server_name , mcp_tool_name , partial_output , progress_message , is_user_requested , result , tool_telemetry , allowed_tools , name , path , agent_description , agent_display_name , agent_name , tools , hook_invocation_id , hook_type , input , output , metadata , role )
699+ return Data (context , copilot_version , producer , selected_model , session_id , start_time , version , event_count , resume_time , error_type , message , provider_call_id , stack , status_code , info_type , new_model , previous_model , handoff_time , remote_session_id , repository , source_type , summary , messages_removed_during_truncation , performed_by , post_truncation_messages_length , post_truncation_tokens_in_messages , pre_truncation_messages_length , pre_truncation_tokens_in_messages , token_limit , tokens_removed_during_truncation , events_removed , up_to_event_id , code_changes , current_model , error_reason , model_metrics , session_start_time , shutdown_type , total_api_duration_ms , total_premium_requests , current_tokens , messages_length , checkpoint_number , checkpoint_path , compaction_tokens_used , error , messages_removed , post_compaction_tokens , pre_compaction_messages_length , pre_compaction_tokens , request_id , success , summary_content , tokens_removed , attachments , content , source , transformed_content , turn_id , intent , reasoning_id , delta_content , encrypted_content , message_id , parent_tool_call_id , reasoning_opaque , reasoning_text , tool_requests , total_response_size_bytes , api_call_id , cache_read_tokens , cache_write_tokens , cost , duration , initiator , input_tokens , model , output_tokens , quota_snapshots , reason , arguments , tool_call_id , tool_name , mcp_server_name , mcp_tool_name , partial_output , progress_message , is_user_requested , result , tool_telemetry , allowed_tools , name , path , agent_description , agent_display_name , agent_name , tools , hook_invocation_id , hook_type , input , output , metadata , role )
698700
699701 def to_dict (self ) -> dict :
700702 result : dict = {}
@@ -798,6 +800,8 @@ def to_dict(self) -> dict:
798800 result ["preCompactionMessagesLength" ] = from_union ([to_float , from_none ], self .pre_compaction_messages_length )
799801 if self .pre_compaction_tokens is not None :
800802 result ["preCompactionTokens" ] = from_union ([to_float , from_none ], self .pre_compaction_tokens )
803+ if self .request_id is not None :
804+ result ["requestId" ] = from_union ([from_str , from_none ], self .request_id )
801805 if self .success is not None :
802806 result ["success" ] = from_union ([from_bool , from_none ], self .success )
803807 if self .summary_content is not None :
0 commit comments