diff --git a/.sdk-version b/.sdk-version index 4bccaba..c9275d6 100644 --- a/.sdk-version +++ b/.sdk-version @@ -1 +1 @@ -v3.87.0 +v3.88.0 diff --git a/docs/SseEventContextCompactedData.md b/docs/SseEventContextCompactedData.md index c17518d..3c459bd 100644 --- a/docs/SseEventContextCompactedData.md +++ b/docs/SseEventContextCompactedData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventRunCancelledData.md b/docs/SseEventRunCancelledData.md index 2ae0116..bc76488 100644 --- a/docs/SseEventRunCancelledData.md +++ b/docs/SseEventRunCancelledData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventRunErrorData.md b/docs/SseEventRunErrorData.md index 573b074..6a6c7d4 100644 --- a/docs/SseEventRunErrorData.md +++ b/docs/SseEventRunErrorData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventRunFinishedData.md b/docs/SseEventRunFinishedData.md index e7ad6c6..cb64961 100644 --- a/docs/SseEventRunFinishedData.md +++ b/docs/SseEventRunFinishedData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventRunStartedData.md b/docs/SseEventRunStartedData.md index 1905d07..74d7f3f 100644 --- a/docs/SseEventRunStartedData.md +++ b/docs/SseEventRunStartedData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventStepFinishedData.md b/docs/SseEventStepFinishedData.md index 3656bef..0d6b9cd 100644 --- a/docs/SseEventStepFinishedData.md +++ b/docs/SseEventStepFinishedData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventStepStartedData.md b/docs/SseEventStepStartedData.md index 4ad0df1..272c5f9 100644 --- a/docs/SseEventStepStartedData.md +++ b/docs/SseEventStepStartedData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventTextMessageContentData.md b/docs/SseEventTextMessageContentData.md index 03302e5..fe50b93 100644 --- a/docs/SseEventTextMessageContentData.md +++ b/docs/SseEventTextMessageContentData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventTextMessageEndData.md b/docs/SseEventTextMessageEndData.md index 5b31d6b..1e7c962 100644 --- a/docs/SseEventTextMessageEndData.md +++ b/docs/SseEventTextMessageEndData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventTextMessageStartData.md b/docs/SseEventTextMessageStartData.md index 18fdabc..adbbf13 100644 --- a/docs/SseEventTextMessageStartData.md +++ b/docs/SseEventTextMessageStartData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventTitleUpdatedData.md b/docs/SseEventTitleUpdatedData.md index 90b0579..b0413f6 100644 --- a/docs/SseEventTitleUpdatedData.md +++ b/docs/SseEventTitleUpdatedData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventToolCallArgsDeltaData.md b/docs/SseEventToolCallArgsDeltaData.md index 9331c37..a8a0912 100644 --- a/docs/SseEventToolCallArgsDeltaData.md +++ b/docs/SseEventToolCallArgsDeltaData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventToolCallEndData.md b/docs/SseEventToolCallEndData.md index 7c168c0..052a7f6 100644 --- a/docs/SseEventToolCallEndData.md +++ b/docs/SseEventToolCallEndData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventToolCallResultData.md b/docs/SseEventToolCallResultData.md index 563f9e4..4e63737 100644 --- a/docs/SseEventToolCallResultData.md +++ b/docs/SseEventToolCallResultData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventToolCallStartData.md b/docs/SseEventToolCallStartData.md index d7963ba..f05a906 100644 --- a/docs/SseEventToolCallStartData.md +++ b/docs/SseEventToolCallStartData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/docs/SseEventToolConfirmationRequiredData.md b/docs/SseEventToolConfirmationRequiredData.md index 8d9bac5..d9b047f 100644 --- a/docs/SseEventToolConfirmationRequiredData.md +++ b/docs/SseEventToolConfirmationRequiredData.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **object** | | **event_id** | **int** | | +**source_run_id** | **str** | | [optional] **type** | **str** | | ## Example diff --git a/revengai/__init__.py b/revengai/__init__.py index 1b9ddd8..3f3d9b5 100644 --- a/revengai/__init__.py +++ b/revengai/__init__.py @@ -13,7 +13,7 @@ """ # noqa: E501 -__version__ = "v3.87.0" +__version__ = "v3.88.0" # Define package exports __all__ = [ diff --git a/revengai/api/analyses_core_api.py b/revengai/api/analyses_core_api.py index 5f3612d..c060849 100644 --- a/revengai/api/analyses_core_api.py +++ b/revengai/api/analyses_core_api.py @@ -954,7 +954,7 @@ def get_analysis_basic_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> BaseResponseBasic: - """Gets basic analysis information + """(Deprecated) Gets basic analysis information Returns basic analysis information for an analysis @@ -981,6 +981,7 @@ def get_analysis_basic_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/analyses/{analysis_id}/basic is deprecated.", DeprecationWarning) _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, @@ -1022,7 +1023,7 @@ def get_analysis_basic_info_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[BaseResponseBasic]: - """Gets basic analysis information + """(Deprecated) Gets basic analysis information Returns basic analysis information for an analysis @@ -1049,6 +1050,7 @@ def get_analysis_basic_info_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/analyses/{analysis_id}/basic is deprecated.", DeprecationWarning) _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, @@ -1090,7 +1092,7 @@ def get_analysis_basic_info_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Gets basic analysis information + """(Deprecated) Gets basic analysis information Returns basic analysis information for an analysis @@ -1117,6 +1119,7 @@ def get_analysis_basic_info_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/analyses/{analysis_id}/basic is deprecated.", DeprecationWarning) _param = self._get_analysis_basic_info_serialize( analysis_id=analysis_id, diff --git a/revengai/api/binaries_api.py b/revengai/api/binaries_api.py index 2cad8d5..f0e4652 100644 --- a/revengai/api/binaries_api.py +++ b/revengai/api/binaries_api.py @@ -325,7 +325,7 @@ def get_binary_additional_details( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> BaseResponseBinaryAdditionalResponse: - """Gets the additional details of a binary + """(Deprecated) Gets the additional details of a binary :param binary_id: (required) @@ -351,6 +351,7 @@ def get_binary_additional_details( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/binaries/{binary_id}/additional-details is deprecated.", DeprecationWarning) _param = self._get_binary_additional_details_serialize( binary_id=binary_id, @@ -392,7 +393,7 @@ def get_binary_additional_details_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[BaseResponseBinaryAdditionalResponse]: - """Gets the additional details of a binary + """(Deprecated) Gets the additional details of a binary :param binary_id: (required) @@ -418,6 +419,7 @@ def get_binary_additional_details_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/binaries/{binary_id}/additional-details is deprecated.", DeprecationWarning) _param = self._get_binary_additional_details_serialize( binary_id=binary_id, @@ -459,7 +461,7 @@ def get_binary_additional_details_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Gets the additional details of a binary + """(Deprecated) Gets the additional details of a binary :param binary_id: (required) @@ -485,6 +487,7 @@ def get_binary_additional_details_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/binaries/{binary_id}/additional-details is deprecated.", DeprecationWarning) _param = self._get_binary_additional_details_serialize( binary_id=binary_id, @@ -859,7 +862,7 @@ def get_binary_additional_details_status( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> BaseResponseAdditionalDetailsStatusResponse: - """Gets the status of the additional details task for a binary + """(Deprecated) Gets the status of the additional details task for a binary :param binary_id: (required) @@ -885,6 +888,7 @@ def get_binary_additional_details_status( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/binaries/{binary_id}/additional-details/status is deprecated.", DeprecationWarning) _param = self._get_binary_additional_details_status_serialize( binary_id=binary_id, @@ -926,7 +930,7 @@ def get_binary_additional_details_status_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[BaseResponseAdditionalDetailsStatusResponse]: - """Gets the status of the additional details task for a binary + """(Deprecated) Gets the status of the additional details task for a binary :param binary_id: (required) @@ -952,6 +956,7 @@ def get_binary_additional_details_status_with_http_info( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/binaries/{binary_id}/additional-details/status is deprecated.", DeprecationWarning) _param = self._get_binary_additional_details_status_serialize( binary_id=binary_id, @@ -993,7 +998,7 @@ def get_binary_additional_details_status_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Gets the status of the additional details task for a binary + """(Deprecated) Gets the status of the additional details task for a binary :param binary_id: (required) @@ -1019,6 +1024,7 @@ def get_binary_additional_details_status_without_preload_content( :type _host_index: int, optional :return: Returns the result object. """ # noqa: E501 + warnings.warn("GET /v2/binaries/{binary_id}/additional-details/status is deprecated.", DeprecationWarning) _param = self._get_binary_additional_details_status_serialize( binary_id=binary_id, diff --git a/revengai/api_client.py b/revengai/api_client.py index 219a451..67412f3 100644 --- a/revengai/api_client.py +++ b/revengai/api_client.py @@ -90,7 +90,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/v3.87.0/python' + self.user_agent = 'OpenAPI-Generator/v3.88.0/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/revengai/configuration.py b/revengai/configuration.py index d52a702..9ef9b46 100644 --- a/revengai/configuration.py +++ b/revengai/configuration.py @@ -533,8 +533,8 @@ def to_debug_report(self) -> str: return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: v3.87.0\n"\ - "SDK Package Version: v3.87.0".\ + "Version of the API: v3.88.0\n"\ + "SDK Package Version: v3.88.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self) -> List[HostSetting]: diff --git a/revengai/models/sse_event_context_compacted_data.py b/revengai/models/sse_event_context_compacted_data.py index 27a29f3..9206e1e 100644 --- a/revengai/models/sse_event_context_compacted_data.py +++ b/revengai/models/sse_event_context_compacted_data.py @@ -27,9 +27,10 @@ class SseEventContextCompactedData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_run_cancelled_data.py b/revengai/models/sse_event_run_cancelled_data.py index b3763ed..dd10b9f 100644 --- a/revengai/models/sse_event_run_cancelled_data.py +++ b/revengai/models/sse_event_run_cancelled_data.py @@ -27,9 +27,10 @@ class SseEventRunCancelledData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_run_error_data.py b/revengai/models/sse_event_run_error_data.py index f6345ed..80136d9 100644 --- a/revengai/models/sse_event_run_error_data.py +++ b/revengai/models/sse_event_run_error_data.py @@ -27,9 +27,10 @@ class SseEventRunErrorData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_run_finished_data.py b/revengai/models/sse_event_run_finished_data.py index 3696fd8..aeaca5b 100644 --- a/revengai/models/sse_event_run_finished_data.py +++ b/revengai/models/sse_event_run_finished_data.py @@ -27,9 +27,10 @@ class SseEventRunFinishedData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_run_started_data.py b/revengai/models/sse_event_run_started_data.py index 7277fc9..3edfb2e 100644 --- a/revengai/models/sse_event_run_started_data.py +++ b/revengai/models/sse_event_run_started_data.py @@ -27,9 +27,10 @@ class SseEventRunStartedData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_step_finished_data.py b/revengai/models/sse_event_step_finished_data.py index d4d35f6..76ae6d6 100644 --- a/revengai/models/sse_event_step_finished_data.py +++ b/revengai/models/sse_event_step_finished_data.py @@ -27,9 +27,10 @@ class SseEventStepFinishedData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_step_started_data.py b/revengai/models/sse_event_step_started_data.py index fb3ae63..4755706 100644 --- a/revengai/models/sse_event_step_started_data.py +++ b/revengai/models/sse_event_step_started_data.py @@ -27,9 +27,10 @@ class SseEventStepStartedData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_text_message_content_data.py b/revengai/models/sse_event_text_message_content_data.py index d879f88..d30469c 100644 --- a/revengai/models/sse_event_text_message_content_data.py +++ b/revengai/models/sse_event_text_message_content_data.py @@ -27,9 +27,10 @@ class SseEventTextMessageContentData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_text_message_end_data.py b/revengai/models/sse_event_text_message_end_data.py index 900cfc1..d857db0 100644 --- a/revengai/models/sse_event_text_message_end_data.py +++ b/revengai/models/sse_event_text_message_end_data.py @@ -27,9 +27,10 @@ class SseEventTextMessageEndData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_text_message_start_data.py b/revengai/models/sse_event_text_message_start_data.py index 07b3c0f..ee45413 100644 --- a/revengai/models/sse_event_text_message_start_data.py +++ b/revengai/models/sse_event_text_message_start_data.py @@ -27,9 +27,10 @@ class SseEventTextMessageStartData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_title_updated_data.py b/revengai/models/sse_event_title_updated_data.py index a6ac88c..446037e 100644 --- a/revengai/models/sse_event_title_updated_data.py +++ b/revengai/models/sse_event_title_updated_data.py @@ -27,9 +27,10 @@ class SseEventTitleUpdatedData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_tool_call_args_delta_data.py b/revengai/models/sse_event_tool_call_args_delta_data.py index 7165135..587426b 100644 --- a/revengai/models/sse_event_tool_call_args_delta_data.py +++ b/revengai/models/sse_event_tool_call_args_delta_data.py @@ -27,9 +27,10 @@ class SseEventToolCallArgsDeltaData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_tool_call_end_data.py b/revengai/models/sse_event_tool_call_end_data.py index 73d5f4a..2f638d6 100644 --- a/revengai/models/sse_event_tool_call_end_data.py +++ b/revengai/models/sse_event_tool_call_end_data.py @@ -27,9 +27,10 @@ class SseEventToolCallEndData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_tool_call_result_data.py b/revengai/models/sse_event_tool_call_result_data.py index ed5147e..69be659 100644 --- a/revengai/models/sse_event_tool_call_result_data.py +++ b/revengai/models/sse_event_tool_call_result_data.py @@ -27,9 +27,10 @@ class SseEventToolCallResultData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_tool_call_start_data.py b/revengai/models/sse_event_tool_call_start_data.py index 725b6c3..abf2175 100644 --- a/revengai/models/sse_event_tool_call_start_data.py +++ b/revengai/models/sse_event_tool_call_start_data.py @@ -27,9 +27,10 @@ class SseEventToolCallStartData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties diff --git a/revengai/models/sse_event_tool_confirmation_required_data.py b/revengai/models/sse_event_tool_confirmation_required_data.py index 4228b82..95d6a1a 100644 --- a/revengai/models/sse_event_tool_confirmation_required_data.py +++ b/revengai/models/sse_event_tool_confirmation_required_data.py @@ -27,9 +27,10 @@ class SseEventToolConfirmationRequiredData(BaseModel): """ # noqa: E501 data: Optional[Any] event_id: StrictInt + source_run_id: Optional[StrictStr] = None type: StrictStr additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["data", "event_id", "type"] + __properties: ClassVar[List[str]] = ["data", "event_id", "source_run_id", "type"] model_config = ConfigDict( populate_by_name=True, @@ -96,6 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "data": obj.get("data"), "event_id": obj.get("event_id"), + "source_run_id": obj.get("source_run_id"), "type": obj.get("type") }) # store additional fields in additional_properties