diff --git a/src/yandex_cloud_ml_sdk/_auth.py b/src/yandex_cloud_ml_sdk/_auth.py index f1359540..5cdbd84c 100644 --- a/src/yandex_cloud_ml_sdk/_auth.py +++ b/src/yandex_cloud_ml_sdk/_auth.py @@ -52,13 +52,11 @@ async def get_auth_metadata( """:meta private:""" # NB: we are can't create lock in Auth constructor, so we a reusing lock from client. # Look at client._lock doctstring for details. - pass @classmethod @abstractmethod async def applicable_from_env(cls, **_: Any) -> Self | None: """:meta private:""" - pass class NoAuth(BaseAuth): @@ -402,7 +400,7 @@ async def _request_token(cls, timeout: float, metadata_url: str) -> str: async def get_auth_provider( *, auth: str | BaseAuth | None, - endpoint: str, + endpoint: str | None, yc_profile: str | None, ) -> BaseAuth: """ diff --git a/src/yandex_cloud_ml_sdk/_client.py b/src/yandex_cloud_ml_sdk/_client.py index 4962a5e6..744ebd44 100644 --- a/src/yandex_cloud_ml_sdk/_client.py +++ b/src/yandex_cloud_ml_sdk/_client.py @@ -14,7 +14,7 @@ from yandex.cloud.endpoint.api_endpoint_service_pb2_grpc import ApiEndpointServiceStub from ._auth import BaseAuth, get_auth_provider -from ._exceptions import AioRpcError +from ._exceptions import AioRpcError, UnknownEndpointError from ._retry import RETRY_KIND_METADATA_KEY, RetryKind, RetryPolicy from ._types.misc import PathLike, coerce_path from ._utils.lock import LazyLock @@ -44,7 +44,7 @@ class AsyncCloudClient: def __init__( self, *, - endpoint: str, + endpoint: str | None, auth: BaseAuth | str | None, service_map: dict[str, str], interceptors: Sequence[grpc.aio.ClientInterceptor] | None, @@ -78,6 +78,10 @@ def __init__( async def _init_service_map(self, timeout: float): metadata = await self._get_metadata(auth_required=False, timeout=timeout, retry_kind=RetryKind.SINGLE) + + if not self._endpoint: + raise RuntimeError('This method should be never called while endpoint=None') + channel = self._new_channel(self._endpoint) async with channel: stub = ApiEndpointServiceStub(channel) @@ -89,8 +93,30 @@ async def _init_service_map(self, timeout: float): for endpoint in response.endpoints: self._service_map[endpoint.id] = endpoint.address + async def _discover_service_endpoint( + self, + service_name: str, + stub_class: type[StubType], + timeout: float + ) -> str: + endpoint: str | None # TODO: add a validation for unknown services in override - self._service_map.update(self._service_map_override) + if endpoint := self._service_map_override.get(service_name): + return endpoint + + if self._endpoint is None: + raise UnknownEndpointError( + "due to `endpoint` SDK param explicitly set to `None` you need to define " + f"{service_name!r} endpoint manually at `service_map` SDK param" + ) + + if not self._service_map: + await self._init_service_map(timeout=timeout) + + if endpoint := self._service_map.get(service_name): + return endpoint + + raise UnknownEndpointError(f'failed to find endpoint for {service_name=} and {stub_class=}') async def _get_metadata( self, @@ -172,19 +198,12 @@ async def _get_channel( return self._channels[stub_class] service_name = service_name if service_name else service_for_ctor(stub_class) - if not self._service_map: - await self._init_service_map(timeout=timeout) - - if not (endpoint := self._service_map.get(service_name)): - # NB: this fix will work if service_map will change ai-assistant to ai-assistants - # (and retrospectively if user will stuck with this version) - # and if _service_for_ctor will change ai-assistants to ai-assistant - if service_name in ('ai-assistant', 'ai-assistants'): - service_name = 'ai-assistant' if service_name == 'ai-assistants' else 'ai-assistants' - if not (endpoint := self._service_map.get(service_name)): - raise ValueError(f'failed to find endpoint for {service_name=} and {stub_class=}') - else: - raise ValueError(f'failed to find endpoint for {service_name=} and {stub_class=}') + + endpoint = await self._discover_service_endpoint( + service_name=service_name, + stub_class=stub_class, + timeout=timeout + ) self._endpoints[stub_class] = endpoint channel = self._channels[stub_class] = self._new_channel(endpoint) diff --git a/src/yandex_cloud_ml_sdk/_exceptions.py b/src/yandex_cloud_ml_sdk/_exceptions.py index a27f22b0..3107701c 100644 --- a/src/yandex_cloud_ml_sdk/_exceptions.py +++ b/src/yandex_cloud_ml_sdk/_exceptions.py @@ -18,6 +18,9 @@ class YCloudMLError(Exception): pass +class UnknownEndpointError(YCloudMLError): + pass + class RunError(YCloudMLError): def __init__(self, code: int, message: str, details: list[Any] | None, operation_id: str): diff --git a/src/yandex_cloud_ml_sdk/_sdk.py b/src/yandex_cloud_ml_sdk/_sdk.py index ce00c588..02ac6507 100644 --- a/src/yandex_cloud_ml_sdk/_sdk.py +++ b/src/yandex_cloud_ml_sdk/_sdk.py @@ -60,7 +60,7 @@ def __init__( self, *, folder_id: str, - endpoint: UndefinedOr[str] = UNDEFINED, + endpoint: UndefinedOr[str] | None = UNDEFINED, auth: UndefinedOr[str | BaseAuth] = UNDEFINED, retry_policy: UndefinedOr[RetryPolicy] = UNDEFINED, yc_profile: UndefinedOr[str] = UNDEFINED, @@ -76,13 +76,15 @@ def __init__( :type folder_id: str :param endpoint: domain:port pair for Yandex Cloud API or any other grpc compatible target. + In case of ``None`` passed it turns off service endpoint discovery mechanism + and requires ``service_map`` to be passed. :type endpoint: str :param auth: string with API Key, IAM token or one of yandex_cloud_ml_sdk.auth objects; in case of default Undefined value, there will be a mechanism to get token from environment :type api_key | BaseAuth: str :param service_map: a way to redefine endpoints for one or more cloud subservices - with a format of dict {service_name: service_address}. + with a format of dict ``{"service_name": "service_address"}``. :type service_map: Dict[str, str] :param enable_server_data_logging: when passed bool, we will add `x-data-logging-enabled: ` to all of requests, which will @@ -145,7 +147,7 @@ def _init_domains(self) -> None: resource = member(name=member_name, sdk=self) setattr(self, member_name, resource) - def _get_endpoint(self, endpoint: UndefinedOr[str]) -> str: + def _get_endpoint(self, endpoint: UndefinedOr[str] | None) -> str | None: """Retrieves the API endpoint. If the endpoint is defined, it will be returned. Otherwise, it checks for diff --git a/src/yandex_cloud_ml_sdk/exceptions.py b/src/yandex_cloud_ml_sdk/exceptions.py index 8340c358..e1d7a093 100644 --- a/src/yandex_cloud_ml_sdk/exceptions.py +++ b/src/yandex_cloud_ml_sdk/exceptions.py @@ -1,8 +1,8 @@ from __future__ import annotations from ._exceptions import ( - AioRpcError, AsyncOperationError, DatasetValidationError, RunError, TuningError, WrongAsyncOperationStatusError, - YCloudMLError + AioRpcError, AsyncOperationError, DatasetValidationError, RunError, TuningError, UnknownEndpointError, + WrongAsyncOperationStatusError, YCloudMLError ) __all__ = [ @@ -13,4 +13,5 @@ 'TuningError', 'WrongAsyncOperationStatusError', 'YCloudMLError', + 'UnknownEndpointError', ] diff --git a/tests/assistants/cassettes/test_files/test_file.gprc.json b/tests/assistants/cassettes/test_files/test_file.gprc.json index 94d213de..2cdfa8b9 100644 --- a/tests/assistants/cassettes/test_files/test_file.gprc.json +++ b/tests/assistants/cassettes/test_files/test_file.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -119,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -147,6 +175,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +275,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +299,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +375,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -396,18 +476,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt7ruv3ufdqbnaj7kri", + "id": "fvtsrv819cscn7ogtlmd", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:43:46.721204Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:43:46.721204Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:41.238314Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:41.238314Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:43:46.721204Z" + "expiresAt": "2025-07-31T14:21:41.238314Z" } } }, @@ -416,14 +496,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt7ruv3ufdqbnaj7kri" + "fileId": "fvtsrv819cscn7ogtlmd" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvt7ruv3ufdqbnaj7kri?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T174346Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=74c8ee4e5497494337675b0f8ba18e9d4604bb141aca6b8f1b1db45b41e76361" + "url": "https://assistant-files.storage.yandexcloud.net/fvtsrv819cscn7ogtlmd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142141Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=26003ed1f9b77f7d4cd3e8282875918909fa8110e3d260099c24b37039b8cd02" } } }, @@ -432,14 +512,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt7ruv3ufdqbnaj7kri" + "fileId": "fvtsrv819cscn7ogtlmd" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvt7ruv3ufdqbnaj7kri?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T174347Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=0feadbc181cee339853b4d119ca59c12a12e5823649f892b92b6bea40b65c29c" + "url": "https://assistant-files.storage.yandexcloud.net/fvtsrv819cscn7ogtlmd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142141Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=26003ed1f9b77f7d4cd3e8282875918909fa8110e3d260099c24b37039b8cd02" } } }, @@ -448,7 +528,7 @@ "cls": "UpdateFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt7ruv3ufdqbnaj7kri", + "fileId": "fvtsrv819cscn7ogtlmd", "updateMask": "name", "name": "name" } @@ -457,19 +537,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt7ruv3ufdqbnaj7kri", + "id": "fvtsrv819cscn7ogtlmd", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:43:46.721204Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:43:47.102003Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:41.238314Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:41.535182Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:43:46.721204Z" + "expiresAt": "2025-07-31T14:21:41.238314Z" } } }, @@ -478,7 +558,7 @@ "cls": "UpdateFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt7ruv3ufdqbnaj7kri", + "fileId": "fvtsrv819cscn7ogtlmd", "updateMask": "description", "description": "description" } @@ -487,20 +567,20 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt7ruv3ufdqbnaj7kri", + "id": "fvtsrv819cscn7ogtlmd", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", "description": "description", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:43:46.721204Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:43:47.149817Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:41.238314Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:41.574481Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:43:46.721204Z" + "expiresAt": "2025-07-31T14:21:41.238314Z" } } }, @@ -509,7 +589,7 @@ "cls": "UpdateFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt7ruv3ufdqbnaj7kri", + "fileId": "fvtsrv819cscn7ogtlmd", "updateMask": "labels", "labels": { "foo": "bar" @@ -520,20 +600,20 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt7ruv3ufdqbnaj7kri", + "id": "fvtsrv819cscn7ogtlmd", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", "description": "description", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:43:46.721204Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:43:47.182786Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:41.238314Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:41.627350Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:43:46.721204Z", + "expiresAt": "2025-07-31T14:21:41.238314Z", "labels": { "foo": "bar" } @@ -545,7 +625,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt7ruv3ufdqbnaj7kri" + "fileId": "fvtsrv819cscn7ogtlmd" } }, "response": { diff --git a/tests/assistants/cassettes/test_files/test_file.yaml b/tests/assistants/cassettes/test_files/test_file.yaml index 5d63d740..9dbb2bbb 100644 --- a/tests/assistants/cassettes/test_files/test_file.yaml +++ b/tests/assistants/cassettes/test_files/test_file.yaml @@ -11,9 +11,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvt7ruv3ufdqbnaj7kri?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T174346Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=74c8ee4e5497494337675b0f8ba18e9d4604bb141aca6b8f1b1db45b41e76361 + uri: https://assistant-files.storage.yandexcloud.net/fvtsrv819cscn7ogtlmd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142141Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=26003ed1f9b77f7d4cd3e8282875918909fa8110e3d260099c24b37039b8cd02 response: body: string: test file @@ -27,17 +27,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:17 GMT + - Thu, 24 Jul 2025 14:21:41 GMT Etag: - '"f20d9f2072bbeb6691c0f9c5099b01f3"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:43:46 GMT + - Thu, 24 Jul 2025 14:21:41 GMT Server: - nginx X-Amz-Request-Id: - - 059cc4d4f5571074 + - fee5dcd6f209795d X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: diff --git a/tests/assistants/cassettes/test_files/test_file_deleted.gprc.json b/tests/assistants/cassettes/test_files/test_file_deleted.gprc.json index a32cbe91..d28dc6a9 100644 --- a/tests/assistants/cassettes/test_files/test_file_deleted.gprc.json +++ b/tests/assistants/cassettes/test_files/test_file_deleted.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -119,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -147,6 +175,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +275,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +299,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +375,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -396,18 +476,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvthqdlg9nfrpsd54dgu", + "id": "fvtkvbpb2j9mbvvquugg", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:46:31.199169Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:46:31.199169Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:41.813886Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:41.813886Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:46:31.199169Z" + "expiresAt": "2025-07-31T14:21:41.813886Z" } } }, @@ -416,7 +496,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvthqdlg9nfrpsd54dgu" + "fileId": "fvtkvbpb2j9mbvvquugg" } }, "response": { diff --git a/tests/assistants/cassettes/test_files/test_file_expiration.gprc.json b/tests/assistants/cassettes/test_files/test_file_expiration.gprc.json index 76374554..54ac38bf 100644 --- a/tests/assistants/cassettes/test_files/test_file_expiration.gprc.json +++ b/tests/assistants/cassettes/test_files/test_file_expiration.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -396,18 +472,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtccn26if22sl7kvedk", + "id": "fvtjsg3k5r0vf22q807c", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:46:01.742672Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:46:01.742672Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:10.024767Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:10.024767Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-21T17:46:01.742672Z" + "expiresAt": "2025-07-31T14:22:10.024767Z" } } }, @@ -428,18 +504,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtk8m8l3hib8tjtq32a", + "id": "fvtln2t3ibbepo34pp40", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:46:01.890912Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:46:01.890912Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:10.217322Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:10.217322Z", "expirationConfig": { "expirationPolicy": "STATIC", "ttlDays": "5" }, - "expiresAt": "2024-10-19T17:46:01.890912Z" + "expiresAt": "2025-07-29T14:22:10.217322Z" } } }, @@ -448,8 +524,8 @@ "cls": "UpdateFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtccn26if22sl7kvedk", - "updateMask": "name,description,labels,expirationConfig.ttlDays", + "fileId": "fvtjsg3k5r0vf22q807c", + "updateMask": "expirationConfig.ttlDays", "expirationConfig": { "ttlDays": "3" } @@ -459,18 +535,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtccn26if22sl7kvedk", + "id": "fvtjsg3k5r0vf22q807c", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:46:01.742672Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:46:02.061415Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:10.024767Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:10.279699Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "3" }, - "expiresAt": "2024-10-21T17:46:01.742672Z" + "expiresAt": "2025-07-27T14:22:10.024767Z" } } }, @@ -479,8 +555,8 @@ "cls": "UpdateFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtccn26if22sl7kvedk", - "updateMask": "name,description,labels,expirationConfig.expirationPolicy", + "fileId": "fvtjsg3k5r0vf22q807c", + "updateMask": "expirationConfig.expirationPolicy", "expirationConfig": { "expirationPolicy": "STATIC" } @@ -490,18 +566,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtccn26if22sl7kvedk", + "id": "fvtjsg3k5r0vf22q807c", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:46:01.742672Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:46:02.122500Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:10.024767Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:10.313329Z", "expirationConfig": { "expirationPolicy": "STATIC", "ttlDays": "3" }, - "expiresAt": "2024-10-21T17:46:01.742672Z" + "expiresAt": "2025-07-27T14:22:10.024767Z" } } }, @@ -510,7 +586,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtccn26if22sl7kvedk" + "fileId": "fvtjsg3k5r0vf22q807c" } }, "response": { @@ -524,7 +600,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtk8m8l3hib8tjtq32a" + "fileId": "fvtln2t3ibbepo34pp40" } }, "response": { diff --git a/tests/assistants/cassettes/test_files/test_file_get.gprc.json b/tests/assistants/cassettes/test_files/test_file_get.gprc.json index b3b3170b..8d2609e6 100644 --- a/tests/assistants/cassettes/test_files/test_file_get.gprc.json +++ b/tests/assistants/cassettes/test_files/test_file_get.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -119,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -147,6 +175,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +275,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +299,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +375,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -396,18 +476,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtrsu780k6h4bf5gt9a", + "id": "fvtu64cqtaedo3bid21r", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:48:18.317817Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:48:18.317817Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:42.034879Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:42.034879Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:48:18.317817Z" + "expiresAt": "2025-07-31T14:21:42.034879Z" } } }, @@ -416,25 +496,25 @@ "cls": "GetFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtrsu780k6h4bf5gt9a" + "fileId": "fvtu64cqtaedo3bid21r" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtrsu780k6h4bf5gt9a", + "id": "fvtu64cqtaedo3bid21r", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:48:18.317817Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:48:18.317817Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:42.034879Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:42.034879Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:48:18.317817Z" + "expiresAt": "2025-07-31T14:21:42.034879Z" } } }, @@ -443,7 +523,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtrsu780k6h4bf5gt9a" + "fileId": "fvtu64cqtaedo3bid21r" } }, "response": { diff --git a/tests/assistants/cassettes/test_files/test_file_list.gprc.json b/tests/assistants/cassettes/test_files/test_file_list.gprc.json index 5077a1cf..ca5cc889 100644 --- a/tests/assistants/cassettes/test_files/test_file_list.gprc.json +++ b/tests/assistants/cassettes/test_files/test_file_list.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -397,187 +473,311 @@ "message": { "files": [ { - "id": "fvt8ms6p5bu8dg6t1di0", + "id": "fvt92v5fdo9iubsrhbqo", "folderId": "b1ghsjum2v37c2un8h64", "name": "9", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.526595Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.526595Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.521965Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.521965Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.526595Z" + "expiresAt": "2025-07-31T14:19:42.521965Z" }, { - "id": "fvtdvjji36bp0s7qq4dg", + "id": "fvtt1pqlukoun34sqnlq", "folderId": "b1ghsjum2v37c2un8h64", "name": "8", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.379068Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.379068Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.412159Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.412159Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.379068Z" + "expiresAt": "2025-07-31T14:19:42.412159Z" }, { - "id": "fvttv61vpei2biu58r3u", + "id": "fvt500bcl6d8i3dlndfd", "folderId": "b1ghsjum2v37c2un8h64", "name": "7", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.220247Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.220247Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.329506Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.329506Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.220247Z" + "expiresAt": "2025-07-31T14:19:42.329506Z" }, { - "id": "fvth5tn8vgplvpp46clc", + "id": "fvt6ouonvmpqj6cejnn2", "folderId": "b1ghsjum2v37c2un8h64", "name": "6", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.083320Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.083320Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.258144Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.258144Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.083320Z" + "expiresAt": "2025-07-31T14:19:42.258144Z" }, { - "id": "fvt26dar7guq8hrut5hl", + "id": "fvtdi95tin8g9vgu049u", "folderId": "b1ghsjum2v37c2un8h64", "name": "5", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.956220Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.956220Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.183438Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.183438Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.956220Z" + "expiresAt": "2025-07-31T14:19:42.183438Z" }, { - "id": "fvt2vgfuv0eateakk1eu", + "id": "fvt50u058jgshtq7d619", "folderId": "b1ghsjum2v37c2un8h64", "name": "4", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.828259Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.828259Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.113160Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.113160Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.828259Z" + "expiresAt": "2025-07-31T14:19:42.113160Z" }, { - "id": "fvtp5659ibv75eiq04er", + "id": "fvtee44p5agpqjqre16f", "folderId": "b1ghsjum2v37c2un8h64", "name": "3", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.617449Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.617449Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.048272Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.048272Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.617449Z" + "expiresAt": "2025-07-31T14:19:42.048272Z" }, { - "id": "fvtdpvrttmf4neeuooov", + "id": "fvtb20m9f79ck83ovms8", "folderId": "b1ghsjum2v37c2un8h64", "name": "2", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.451784Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.451784Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:41.963915Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:41.963915Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.451784Z" + "expiresAt": "2025-07-31T14:19:41.963915Z" }, { - "id": "fvtc939ughi46e0hgacb", + "id": "fvtnt1b1l9iupf9dr721", "folderId": "b1ghsjum2v37c2un8h64", "name": "1", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.282885Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.282885Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:41.877641Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:41.877641Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.282885Z" + "expiresAt": "2025-07-31T14:19:41.877641Z" }, { - "id": "fvtk0p9vvds0to8m2rbb", + "id": "fvtvq5pegkg4tgr8mbk5", "folderId": "b1ghsjum2v37c2un8h64", "name": "0", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.083783Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.083783Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:41.796524Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:41.796524Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:19:41.796524Z" + }, + { + "id": "fvtd5jm8o58gve3lnsdk", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:37.535606Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:37.535606Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:19:37.535606Z" + }, + { + "id": "fvt0ogmrojgbr5mkuabb", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T18:02:31.141210Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T18:02:31.141210Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T18:02:31.484106Z" + }, + { + "id": "fvtug051tn5gjn5lt3p9", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:59:37.216281Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:59:37.216281Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:59:37.517217Z" + }, + { + "id": "fvt3to0cj40cp3bfi7e3", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:58:57.113566Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:58:57.113566Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:58:57.385096Z" + }, + { + "id": "fvtsetnn5v5vmse14pdt", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:57:47.397746Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:57:47.397746Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:57:47.670626Z" + }, + { + "id": "fvtt22iahv2b60ngn25m", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:53:16.237643Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:53:16.237643Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.083783Z" + "expiresAt": "2025-07-24T17:53:16.530422Z" }, { - "id": "fvtpc8als2hkstovmvjb", + "id": "fvt0o1ce2san64d7nsho", "folderId": "b1ghsjum2v37c2un8h64", - "name": "name", - "description": "description", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:42:35.413383Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:42:35.875780Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:52:25.329005Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:52:25.329005Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:42:35.413383Z" + "expiresAt": "2025-07-24T17:52:25.564282Z" }, { - "id": "fvtg5ggk07ij41tpj08m", + "id": "fvtn2sh1uhb6a1a810mo", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:35:35.385743Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:35:35.385743Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:51:25.223235Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:51:25.223235Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:35:35.385743Z" + "expiresAt": "2025-07-24T17:51:25.475163Z" + }, + { + "id": "fvtqmvrbs389df2cv2au", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:49:37.390485Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:49:37.390485Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:49:37.670276Z" + }, + { + "id": "fvt7k4ipis7mfihfh3r1", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:48:56.616437Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:48:56.616437Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:48:56.877019Z" + }, + { + "id": "fvtf214rglt6rggiq7hs", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:48:32.416684Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:48:32.416684Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:48:32.820863Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzozNTozNS4zODU3NDNAZnZ0ZzVnZ2swN2lqNDF0cGowOG0=" + "nextPageToken": "MjAyNS0wNy0xN1QxNzo0ODozMi40MTY2ODRAZnZ0ZjIxNHJnbHQ2cmdnaXE3aHM=" } } }, @@ -587,7 +787,7 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "pageToken": "MjAyNC0wOS0yN1QxNzozNTozNS4zODU3NDNAZnZ0ZzVnZ2swN2lqNDF0cGowOG0=" + "pageToken": "MjAyNS0wNy0xN1QxNzo0ODozMi40MTY2ODRAZnZ0ZjIxNHJnbHQ2cmdnaXE3aHM=" } }, "response": { @@ -610,19 +810,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtjgq2us8r579ceqnht", + "id": "fvt1du9cph03eua8ibh8", "folderId": "b1ghsjum2v37c2un8h64", "name": "0", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:47.664832Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:47.664832Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.048596Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.048596Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:47.664832Z" + "expiresAt": "2025-07-31T14:21:46.048596Z" } } }, @@ -640,19 +840,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtocg9sh0mvhiqe0slf", + "id": "fvt0euakj8ndsotj2o27", "folderId": "b1ghsjum2v37c2un8h64", "name": "1", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:47.851406Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:47.851406Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.183058Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.183058Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:47.851406Z" + "expiresAt": "2025-07-31T14:21:46.183058Z" } } }, @@ -670,19 +870,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtdmq06qmdehrc1l6a1", + "id": "fvt8g2dcksrb5fcklkgk", "folderId": "b1ghsjum2v37c2un8h64", "name": "2", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:47.980080Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:47.980080Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.280462Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.280462Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:47.980080Z" + "expiresAt": "2025-07-31T14:21:46.280462Z" } } }, @@ -700,19 +900,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtuacd8986o0bn832l1", + "id": "fvtj1j81k26rkhcg9sdf", "folderId": "b1ghsjum2v37c2un8h64", "name": "3", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.166400Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.166400Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.399656Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.399656Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.166400Z" + "expiresAt": "2025-07-31T14:21:46.399656Z" } } }, @@ -730,19 +930,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtji7n46r9rscb8n6t6", + "id": "fvt05o42snipvt7ddrno", "folderId": "b1ghsjum2v37c2un8h64", "name": "4", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.325382Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.325382Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.498708Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.498708Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.325382Z" + "expiresAt": "2025-07-31T14:21:46.498708Z" } } }, @@ -760,19 +960,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtua4sjfh7lvo4ovu4k", + "id": "fvt6mqhp2cnid839ignt", "folderId": "b1ghsjum2v37c2un8h64", "name": "5", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.466437Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.466437Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.574389Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.574389Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.466437Z" + "expiresAt": "2025-07-31T14:21:46.574389Z" } } }, @@ -790,19 +990,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtp9ka90o51vtict9pv", + "id": "fvt0uhshq4octo7po1dq", "folderId": "b1ghsjum2v37c2un8h64", "name": "6", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.665747Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.665747Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.651564Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.651564Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.665747Z" + "expiresAt": "2025-07-31T14:21:46.651564Z" } } }, @@ -820,19 +1020,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtqsgiciu69juh8goin", + "id": "fvtc0m3jr5eprumqvl5t", "folderId": "b1ghsjum2v37c2un8h64", "name": "7", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.795925Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.795925Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.723229Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.723229Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.795925Z" + "expiresAt": "2025-07-31T14:21:46.723229Z" } } }, @@ -850,19 +1050,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtn9b726gecupnhbncs", + "id": "fvtf06gfmg9cj9tqkrvo", "folderId": "b1ghsjum2v37c2un8h64", "name": "8", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.952443Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.952443Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.857927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.857927Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.952443Z" + "expiresAt": "2025-07-31T14:21:46.857927Z" } } }, @@ -880,19 +1080,19 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtl7vl8ucbhs0vm9cqj", + "id": "fvt4cppauoiua0nc0c03", "folderId": "b1ghsjum2v37c2un8h64", "name": "9", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:49.088021Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:49.088021Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.924702Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.924702Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:49.088021Z" + "expiresAt": "2025-07-31T14:21:46.924702Z" } } }, @@ -911,52 +1111,52 @@ "message": { "files": [ { - "id": "fvtl7vl8ucbhs0vm9cqj", + "id": "fvt4cppauoiua0nc0c03", "folderId": "b1ghsjum2v37c2un8h64", "name": "9", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:49.088021Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:49.088021Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.924702Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.924702Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:49.088021Z" + "expiresAt": "2025-07-31T14:21:46.924702Z" }, { - "id": "fvtn9b726gecupnhbncs", + "id": "fvtf06gfmg9cj9tqkrvo", "folderId": "b1ghsjum2v37c2un8h64", "name": "8", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.952443Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.952443Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.857927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.857927Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.952443Z" + "expiresAt": "2025-07-31T14:21:46.857927Z" }, { - "id": "fvtqsgiciu69juh8goin", + "id": "fvtc0m3jr5eprumqvl5t", "folderId": "b1ghsjum2v37c2un8h64", "name": "7", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.795925Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.795925Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.723229Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.723229Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.795925Z" + "expiresAt": "2025-07-31T14:21:46.723229Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo1Njo0OC43OTU5MjVAZnZ0cXNnaWNpdTY5anVoOGdvaW4=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoyMTo0Ni43MjMyMjlAZnZ0YzBtM2pyNWVwcnVtcXZsNXQ=" } } }, @@ -967,7 +1167,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo1Njo0OC43OTU5MjVAZnZ0cXNnaWNpdTY5anVoOGdvaW4=" + "pageToken": "MjAyNS0wNy0yNFQxNDoyMTo0Ni43MjMyMjlAZnZ0YzBtM2pyNWVwcnVtcXZsNXQ=" } }, "response": { @@ -976,52 +1176,52 @@ "message": { "files": [ { - "id": "fvtp9ka90o51vtict9pv", + "id": "fvt0uhshq4octo7po1dq", "folderId": "b1ghsjum2v37c2un8h64", "name": "6", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.665747Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.665747Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.651564Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.651564Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.665747Z" + "expiresAt": "2025-07-31T14:21:46.651564Z" }, { - "id": "fvtua4sjfh7lvo4ovu4k", + "id": "fvt6mqhp2cnid839ignt", "folderId": "b1ghsjum2v37c2un8h64", "name": "5", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.466437Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.466437Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.574389Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.574389Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.466437Z" + "expiresAt": "2025-07-31T14:21:46.574389Z" }, { - "id": "fvtji7n46r9rscb8n6t6", + "id": "fvt05o42snipvt7ddrno", "folderId": "b1ghsjum2v37c2un8h64", "name": "4", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.325382Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.325382Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.498708Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.498708Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.325382Z" + "expiresAt": "2025-07-31T14:21:46.498708Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo1Njo0OC4zMjUzODJAZnZ0amk3bjQ2cjlyc2NiOG42dDY=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoyMTo0Ni40OTg3MDhAZnZ0MDVvNDJzbmlwdnQ3ZGRybm8=" } } }, @@ -1032,7 +1232,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo1Njo0OC4zMjUzODJAZnZ0amk3bjQ2cjlyc2NiOG42dDY=" + "pageToken": "MjAyNS0wNy0yNFQxNDoyMTo0Ni40OTg3MDhAZnZ0MDVvNDJzbmlwdnQ3ZGRybm8=" } }, "response": { @@ -1041,52 +1241,52 @@ "message": { "files": [ { - "id": "fvtuacd8986o0bn832l1", + "id": "fvtj1j81k26rkhcg9sdf", "folderId": "b1ghsjum2v37c2un8h64", "name": "3", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:48.166400Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:48.166400Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.399656Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.399656Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:48.166400Z" + "expiresAt": "2025-07-31T14:21:46.399656Z" }, { - "id": "fvtdmq06qmdehrc1l6a1", + "id": "fvt8g2dcksrb5fcklkgk", "folderId": "b1ghsjum2v37c2un8h64", "name": "2", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:47.980080Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:47.980080Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.280462Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.280462Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:47.980080Z" + "expiresAt": "2025-07-31T14:21:46.280462Z" }, { - "id": "fvtocg9sh0mvhiqe0slf", + "id": "fvt0euakj8ndsotj2o27", "folderId": "b1ghsjum2v37c2un8h64", "name": "1", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:47.851406Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:47.851406Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.183058Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.183058Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:47.851406Z" + "expiresAt": "2025-07-31T14:21:46.183058Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo1Njo0Ny44NTE0MDZAZnZ0b2NnOXNoMG12aGlxZTBzbGY=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoyMTo0Ni4xODMwNThAZnZ0MGV1YWtqOG5kc290ajJvMjc=" } } }, @@ -1097,7 +1297,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo1Njo0Ny44NTE0MDZAZnZ0b2NnOXNoMG12aGlxZTBzbGY=" + "pageToken": "MjAyNS0wNy0yNFQxNDoyMTo0Ni4xODMwNThAZnZ0MGV1YWtqOG5kc290ajJvMjc=" } }, "response": { @@ -1106,52 +1306,52 @@ "message": { "files": [ { - "id": "fvtjgq2us8r579ceqnht", + "id": "fvt1du9cph03eua8ibh8", "folderId": "b1ghsjum2v37c2un8h64", "name": "0", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:47.664832Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:47.664832Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:21:46.048596Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:21:46.048596Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:47.664832Z" + "expiresAt": "2025-07-31T14:21:46.048596Z" }, { - "id": "fvt8ms6p5bu8dg6t1di0", + "id": "fvt92v5fdo9iubsrhbqo", "folderId": "b1ghsjum2v37c2un8h64", "name": "9", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.526595Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.526595Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.521965Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.521965Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.526595Z" + "expiresAt": "2025-07-31T14:19:42.521965Z" }, { - "id": "fvtdvjji36bp0s7qq4dg", + "id": "fvtt1pqlukoun34sqnlq", "folderId": "b1ghsjum2v37c2un8h64", "name": "8", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.379068Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.379068Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.412159Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.412159Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.379068Z" + "expiresAt": "2025-07-31T14:19:42.412159Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo1NjoyNi4zNzkwNjhAZnZ0ZHZqamkzNmJwMHM3cXE0ZGc=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoxOTo0Mi40MTIxNTlAZnZ0dDFwcWx1a291bjM0c3FubHE=" } } }, @@ -1162,7 +1362,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo1NjoyNi4zNzkwNjhAZnZ0ZHZqamkzNmJwMHM3cXE0ZGc=" + "pageToken": "MjAyNS0wNy0yNFQxNDoxOTo0Mi40MTIxNTlAZnZ0dDFwcWx1a291bjM0c3FubHE=" } }, "response": { @@ -1171,52 +1371,52 @@ "message": { "files": [ { - "id": "fvttv61vpei2biu58r3u", + "id": "fvt500bcl6d8i3dlndfd", "folderId": "b1ghsjum2v37c2un8h64", "name": "7", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.220247Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.220247Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.329506Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.329506Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.220247Z" + "expiresAt": "2025-07-31T14:19:42.329506Z" }, { - "id": "fvth5tn8vgplvpp46clc", + "id": "fvt6ouonvmpqj6cejnn2", "folderId": "b1ghsjum2v37c2un8h64", "name": "6", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:26.083320Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:26.083320Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.258144Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.258144Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:26.083320Z" + "expiresAt": "2025-07-31T14:19:42.258144Z" }, { - "id": "fvt26dar7guq8hrut5hl", + "id": "fvtdi95tin8g9vgu049u", "folderId": "b1ghsjum2v37c2un8h64", "name": "5", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.956220Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.956220Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.183438Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.183438Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.956220Z" + "expiresAt": "2025-07-31T14:19:42.183438Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo1NjoyNS45NTYyMjBAZnZ0MjZkYXI3Z3VxOGhydXQ1aGw=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoxOTo0Mi4xODM0MzhAZnZ0ZGk5NXRpbjhnOXZndTA0OXU=" } } }, @@ -1227,7 +1427,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo1NjoyNS45NTYyMjBAZnZ0MjZkYXI3Z3VxOGhydXQ1aGw=" + "pageToken": "MjAyNS0wNy0yNFQxNDoxOTo0Mi4xODM0MzhAZnZ0ZGk5NXRpbjhnOXZndTA0OXU=" } }, "response": { @@ -1236,52 +1436,52 @@ "message": { "files": [ { - "id": "fvt2vgfuv0eateakk1eu", + "id": "fvt50u058jgshtq7d619", "folderId": "b1ghsjum2v37c2un8h64", "name": "4", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.828259Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.828259Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.113160Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.113160Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.828259Z" + "expiresAt": "2025-07-31T14:19:42.113160Z" }, { - "id": "fvtp5659ibv75eiq04er", + "id": "fvtee44p5agpqjqre16f", "folderId": "b1ghsjum2v37c2un8h64", "name": "3", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.617449Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.617449Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:42.048272Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:42.048272Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.617449Z" + "expiresAt": "2025-07-31T14:19:42.048272Z" }, { - "id": "fvtdpvrttmf4neeuooov", + "id": "fvtb20m9f79ck83ovms8", "folderId": "b1ghsjum2v37c2un8h64", "name": "2", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.451784Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.451784Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:41.963915Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:41.963915Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.451784Z" + "expiresAt": "2025-07-31T14:19:41.963915Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo1NjoyNS40NTE3ODRAZnZ0ZHB2cnR0bWY0bmVldW9vb3Y=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoxOTo0MS45NjM5MTVAZnZ0YjIwbTlmNzljazgzb3Ztczg=" } } }, @@ -1292,7 +1492,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo1NjoyNS40NTE3ODRAZnZ0ZHB2cnR0bWY0bmVldW9vb3Y=" + "pageToken": "MjAyNS0wNy0yNFQxNDoxOTo0MS45NjM5MTVAZnZ0YjIwbTlmNzljazgzb3Ztczg=" } }, "response": { @@ -1301,53 +1501,175 @@ "message": { "files": [ { - "id": "fvtc939ughi46e0hgacb", + "id": "fvtnt1b1l9iupf9dr721", "folderId": "b1ghsjum2v37c2un8h64", "name": "1", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.282885Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.282885Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:41.877641Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:41.877641Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.282885Z" + "expiresAt": "2025-07-31T14:19:41.877641Z" }, { - "id": "fvtk0p9vvds0to8m2rbb", + "id": "fvtvq5pegkg4tgr8mbk5", "folderId": "b1ghsjum2v37c2un8h64", "name": "0", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:56:25.083783Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:56:25.083783Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:41.796524Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:41.796524Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:19:41.796524Z" + }, + { + "id": "fvtd5jm8o58gve3lnsdk", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:19:37.535606Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:19:37.535606Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:19:37.535606Z" + } + ], + "nextPageToken": "MjAyNS0wNy0yNFQxNDoxOTozNy41MzU2MDZAZnZ0ZDVqbThvNThndmUzbG5zZGs=" + } + } + }, + { + "request": { + "cls": "ListFilesRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "folderId": "b1ghsjum2v37c2un8h64", + "pageSize": "3", + "pageToken": "MjAyNS0wNy0yNFQxNDoxOTozNy41MzU2MDZAZnZ0ZDVqbThvNThndmUzbG5zZGs=" + } + }, + "response": { + "cls": "ListFilesResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "files": [ + { + "id": "fvt0ogmrojgbr5mkuabb", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T18:02:31.141210Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T18:02:31.141210Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T18:02:31.484106Z" + }, + { + "id": "fvtug051tn5gjn5lt3p9", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:59:37.216281Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:59:37.216281Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:59:37.517217Z" + }, + { + "id": "fvt3to0cj40cp3bfi7e3", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:58:57.113566Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:58:57.113566Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:58:57.385096Z" + } + ], + "nextPageToken": "MjAyNS0wNy0xN1QxNzo1ODo1Ny4xMTM1NjZAZnZ0M3RvMGNqNDBjcDNiZmk3ZTM=" + } + } + }, + { + "request": { + "cls": "ListFilesRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "folderId": "b1ghsjum2v37c2un8h64", + "pageSize": "3", + "pageToken": "MjAyNS0wNy0xN1QxNzo1ODo1Ny4xMTM1NjZAZnZ0M3RvMGNqNDBjcDNiZmk3ZTM=" + } + }, + "response": { + "cls": "ListFilesResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "files": [ + { + "id": "fvtsetnn5v5vmse14pdt", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:57:47.397746Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:57:47.397746Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:56:25.083783Z" + "expiresAt": "2025-07-24T17:57:47.670626Z" }, { - "id": "fvtpc8als2hkstovmvjb", + "id": "fvtt22iahv2b60ngn25m", "folderId": "b1ghsjum2v37c2un8h64", - "name": "name", - "description": "description", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:42:35.413383Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:42:35.875780Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:53:16.237643Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:53:16.237643Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:42:35.413383Z" + "expiresAt": "2025-07-24T17:53:16.530422Z" + }, + { + "id": "fvt0o1ce2san64d7nsho", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:52:25.329005Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:52:25.329005Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:52:25.564282Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzo0MjozNS40MTMzODNAZnZ0cGM4YWxzMmhrc3Rvdm12amI=" + "nextPageToken": "MjAyNS0wNy0xN1QxNzo1MjoyNS4zMjkwMDVAZnZ0MG8xY2Uyc2FuNjRkN25zaG8=" } } }, @@ -1358,7 +1680,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzo0MjozNS40MTMzODNAZnZ0cGM4YWxzMmhrc3Rvdm12amI=" + "pageToken": "MjAyNS0wNy0xN1QxNzo1MjoyNS4zMjkwMDVAZnZ0MG8xY2Uyc2FuNjRkN25zaG8=" } }, "response": { @@ -1367,21 +1689,49 @@ "message": { "files": [ { - "id": "fvtg5ggk07ij41tpj08m", + "id": "fvtn2sh1uhb6a1a810mo", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-09-27T17:35:35.385743Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-09-27T17:35:35.385743Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:51:25.223235Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:51:25.223235Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-04T17:35:35.385743Z" + "expiresAt": "2025-07-24T17:51:25.475163Z" + }, + { + "id": "fvtqmvrbs389df2cv2au", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:49:37.390485Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:49:37.390485Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:49:37.670276Z" + }, + { + "id": "fvt7k4ipis7mfihfh3r1", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:48:56.616437Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:48:56.616437Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:48:56.877019Z" } ], - "nextPageToken": "MjAyNC0wOS0yN1QxNzozNTozNS4zODU3NDNAZnZ0ZzVnZ2swN2lqNDF0cGowOG0=" + "nextPageToken": "MjAyNS0wNy0xN1QxNzo0ODo1Ni42MTY0MzdAZnZ0N2s0aXBpczdtZmloZmgzcjE=" } } }, @@ -1392,7 +1742,41 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "pageSize": "3", - "pageToken": "MjAyNC0wOS0yN1QxNzozNTozNS4zODU3NDNAZnZ0ZzVnZ2swN2lqNDF0cGowOG0=" + "pageToken": "MjAyNS0wNy0xN1QxNzo0ODo1Ni42MTY0MzdAZnZ0N2s0aXBpczdtZmloZmgzcjE=" + } + }, + "response": { + "cls": "ListFilesResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "files": [ + { + "id": "fvtf214rglt6rggiq7hs", + "folderId": "b1ghsjum2v37c2un8h64", + "mimeType": "text/plain", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:48:32.416684Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:48:32.416684Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:48:32.820863Z" + } + ], + "nextPageToken": "MjAyNS0wNy0xN1QxNzo0ODozMi40MTY2ODRAZnZ0ZjIxNHJnbHQ2cmdnaXE3aHM=" + } + } + }, + { + "request": { + "cls": "ListFilesRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "folderId": "b1ghsjum2v37c2un8h64", + "pageSize": "3", + "pageToken": "MjAyNS0wNy0xN1QxNzo0ODozMi40MTY2ODRAZnZ0ZjIxNHJnbHQ2cmdnaXE3aHM=" } }, "response": { @@ -1406,14 +1790,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtl7vl8ucbhs0vm9cqj" + "fileId": "fvt4cppauoiua0nc0c03" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtl7vl8ucbhs0vm9cqj?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175649Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=45f0611590cf73aa3f2d302973aadd751f446b9afeab2f4738a71e4d4be422f9" + "url": "https://assistant-files.storage.yandexcloud.net/fvt4cppauoiua0nc0c03?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=b761d2a744558d83decddd7c648e59587b63d6eff6f44ecd216fcdde1e4b568c" } } }, @@ -1422,14 +1806,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtn9b726gecupnhbncs" + "fileId": "fvtf06gfmg9cj9tqkrvo" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtn9b726gecupnhbncs?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175649Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=95841ccdc9f332fa8476e0cef7a1d3c960655459d44ac6175dafc571185f0dfd" + "url": "https://assistant-files.storage.yandexcloud.net/fvtf06gfmg9cj9tqkrvo?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=a60d8d0dca8998463ea4db6a8858ae822a0e76440b70af7d6c9b4258288c055e" } } }, @@ -1438,14 +1822,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtqsgiciu69juh8goin" + "fileId": "fvtc0m3jr5eprumqvl5t" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtqsgiciu69juh8goin?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=dc56e53407ce8a1998e395c2d2b3c1ab4fc534fdea9069879ed798593e9de860" + "url": "https://assistant-files.storage.yandexcloud.net/fvtc0m3jr5eprumqvl5t?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=3cb1e70524e8b340e27883a313f0b40aa41fc214133e37191c7954f3922441af" } } }, @@ -1454,14 +1838,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtp9ka90o51vtict9pv" + "fileId": "fvt0uhshq4octo7po1dq" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtp9ka90o51vtict9pv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=e7c48579899ac0f02646ca4a0c052ba20d0d978a61ed25904128abbd9309980d" + "url": "https://assistant-files.storage.yandexcloud.net/fvt0uhshq4octo7po1dq?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=b2925baa7207cecb64446bf95d64d9eaf719728cba835f8b053325913eaf7e59" } } }, @@ -1470,14 +1854,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtua4sjfh7lvo4ovu4k" + "fileId": "fvt6mqhp2cnid839ignt" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtua4sjfh7lvo4ovu4k?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=ffd01070deb44299532f17d4caeb71143b9af41280866e5ced5ecafbe3a28bed" + "url": "https://assistant-files.storage.yandexcloud.net/fvt6mqhp2cnid839ignt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=c38e0a0795afb50efd5824ab907aa552807da7ec1383e7739f38b76548ea8671" } } }, @@ -1486,14 +1870,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtji7n46r9rscb8n6t6" + "fileId": "fvt05o42snipvt7ddrno" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtji7n46r9rscb8n6t6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=275ec98c054b4cf091c3bed5e36edcad8a8bcae9d3894d6a0e2af508cdc749e4" + "url": "https://assistant-files.storage.yandexcloud.net/fvt05o42snipvt7ddrno?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=329af87abb8012311679f476014e1c7af20c9fc577ad0d4723a6f5a09dfe6ef9" } } }, @@ -1502,14 +1886,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtuacd8986o0bn832l1" + "fileId": "fvtj1j81k26rkhcg9sdf" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtuacd8986o0bn832l1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=5f045736692ecd24673acb57cde8f3a60960125fc7ec5914cfb1c7bab7ae994a" + "url": "https://assistant-files.storage.yandexcloud.net/fvtj1j81k26rkhcg9sdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=5353d62b72007aa0c8b6f77cb4234c77323571899cf99c31772004f0fe0d5681" } } }, @@ -1518,14 +1902,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtdmq06qmdehrc1l6a1" + "fileId": "fvt8g2dcksrb5fcklkgk" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtdmq06qmdehrc1l6a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=8fbc62968e62594fd822cb6bec018e704370e4342d2af3e7f3b10788ed653cd3" + "url": "https://assistant-files.storage.yandexcloud.net/fvt8g2dcksrb5fcklkgk?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=72871d9d3314e8f9894e0d67e96c64e69d10fa44d23b03246f1fc54a4b93d564" } } }, @@ -1534,14 +1918,14 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtocg9sh0mvhiqe0slf" + "fileId": "fvt0euakj8ndsotj2o27" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtocg9sh0mvhiqe0slf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=b8d40f32d9c41d0a9a2ef2fcb5c88161ead53965085a22c4950699a5a469b549" + "url": "https://assistant-files.storage.yandexcloud.net/fvt0euakj8ndsotj2o27?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=40b3e2cf5b95cce4a5f2527c82e489fa8161fa0fb56a9094d43caccdf9a03540" } } }, @@ -1550,15 +1934,141 @@ "cls": "GetFileUrlRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtjgq2us8r579ceqnht" + "fileId": "fvt1du9cph03eua8ibh8" } }, "response": { "cls": "GetFileUrlResponse", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "url": "https://assistant-files.storage.yandexcloud.net/fvtjgq2us8r579ceqnht?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=9506023013a7f418420fa2aa2e93f278a6df2438e64434d6288b5d887bc4ee26" + "url": "https://assistant-files.storage.yandexcloud.net/fvt1du9cph03eua8ibh8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=f7a85f50b7f9d123dad49bbbbd170fedf4988f1155dd92fe35ee8b673c7596a7" + } + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvt4cppauoiua0nc0c03" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvtf06gfmg9cj9tqkrvo" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvtc0m3jr5eprumqvl5t" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvt0uhshq4octo7po1dq" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvt6mqhp2cnid839ignt" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvt05o42snipvt7ddrno" } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvtj1j81k26rkhcg9sdf" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvt8g2dcksrb5fcklkgk" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteFileRequest", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": { + "fileId": "fvt0euakj8ndsotj2o27" + } + }, + "response": { + "cls": "DeleteFileResponse", + "module": "yandex.cloud.ai.files.v1.file_service_pb2", + "message": {} } }, { @@ -1566,7 +2076,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtl7vl8ucbhs0vm9cqj" + "fileId": "fvt1du9cph03eua8ibh8" } }, "response": { @@ -1580,7 +2090,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtn9b726gecupnhbncs" + "fileId": "fvt92v5fdo9iubsrhbqo" } }, "response": { @@ -1594,7 +2104,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtqsgiciu69juh8goin" + "fileId": "fvtt1pqlukoun34sqnlq" } }, "response": { @@ -1608,7 +2118,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtp9ka90o51vtict9pv" + "fileId": "fvt500bcl6d8i3dlndfd" } }, "response": { @@ -1622,7 +2132,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtua4sjfh7lvo4ovu4k" + "fileId": "fvt6ouonvmpqj6cejnn2" } }, "response": { @@ -1636,7 +2146,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtji7n46r9rscb8n6t6" + "fileId": "fvtdi95tin8g9vgu049u" } }, "response": { @@ -1650,7 +2160,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtuacd8986o0bn832l1" + "fileId": "fvt50u058jgshtq7d619" } }, "response": { @@ -1664,7 +2174,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtdmq06qmdehrc1l6a1" + "fileId": "fvtee44p5agpqjqre16f" } }, "response": { @@ -1678,7 +2188,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtocg9sh0mvhiqe0slf" + "fileId": "fvtb20m9f79ck83ovms8" } }, "response": { @@ -1692,7 +2202,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtjgq2us8r579ceqnht" + "fileId": "fvtnt1b1l9iupf9dr721" } }, "response": { @@ -1706,7 +2216,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt8ms6p5bu8dg6t1di0" + "fileId": "fvtvq5pegkg4tgr8mbk5" } }, "response": { @@ -1720,7 +2230,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtdvjji36bp0s7qq4dg" + "fileId": "fvtd5jm8o58gve3lnsdk" } }, "response": { @@ -1734,7 +2244,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvttv61vpei2biu58r3u" + "fileId": "fvt0ogmrojgbr5mkuabb" } }, "response": { @@ -1748,7 +2258,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvth5tn8vgplvpp46clc" + "fileId": "fvtug051tn5gjn5lt3p9" } }, "response": { @@ -1762,7 +2272,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt26dar7guq8hrut5hl" + "fileId": "fvt3to0cj40cp3bfi7e3" } }, "response": { @@ -1776,7 +2286,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt2vgfuv0eateakk1eu" + "fileId": "fvtsetnn5v5vmse14pdt" } }, "response": { @@ -1790,7 +2300,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtp5659ibv75eiq04er" + "fileId": "fvtt22iahv2b60ngn25m" } }, "response": { @@ -1804,7 +2314,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtdpvrttmf4neeuooov" + "fileId": "fvt0o1ce2san64d7nsho" } }, "response": { @@ -1818,7 +2328,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtc939ughi46e0hgacb" + "fileId": "fvtn2sh1uhb6a1a810mo" } }, "response": { @@ -1832,7 +2342,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtk0p9vvds0to8m2rbb" + "fileId": "fvtqmvrbs389df2cv2au" } }, "response": { @@ -1846,7 +2356,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtpc8als2hkstovmvjb" + "fileId": "fvt7k4ipis7mfihfh3r1" } }, "response": { @@ -1860,7 +2370,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtg5ggk07ij41tpj08m" + "fileId": "fvtf214rglt6rggiq7hs" } }, "response": { diff --git a/tests/assistants/cassettes/test_files/test_file_list.yaml b/tests/assistants/cassettes/test_files/test_file_list.yaml index 0ceeeb7d..5de6b449 100644 --- a/tests/assistants/cassettes/test_files/test_file_list.yaml +++ b/tests/assistants/cassettes/test_files/test_file_list.yaml @@ -11,9 +11,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtl7vl8ucbhs0vm9cqj?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175649Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=45f0611590cf73aa3f2d302973aadd751f446b9afeab2f4738a71e4d4be422f9 + uri: https://assistant-files.storage.yandexcloud.net/fvt4cppauoiua0nc0c03?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=b761d2a744558d83decddd7c648e59587b63d6eff6f44ecd216fcdde1e4b568c response: body: string: test_file 9 @@ -27,17 +27,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:17 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"34a5e2a583d047eb73d094a37c57761d"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:49 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - 5f4f56c89d0eaa50 + - 6ff219e098d86eb1 X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -57,9 +57,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtn9b726gecupnhbncs?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175649Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=95841ccdc9f332fa8476e0cef7a1d3c960655459d44ac6175dafc571185f0dfd + uri: https://assistant-files.storage.yandexcloud.net/fvtf06gfmg9cj9tqkrvo?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=a60d8d0dca8998463ea4db6a8858ae822a0e76440b70af7d6c9b4258288c055e response: body: string: test_file 8 @@ -73,17 +73,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:17 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"cdaa711f6610bf585997ac76271f60e8"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:49 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - c933125b62481bfd + - e88b4c830240c4e2 X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -103,9 +103,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtqsgiciu69juh8goin?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=dc56e53407ce8a1998e395c2d2b3c1ab4fc534fdea9069879ed798593e9de860 + uri: https://assistant-files.storage.yandexcloud.net/fvtc0m3jr5eprumqvl5t?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=3cb1e70524e8b340e27883a313f0b40aa41fc214133e37191c7954f3922441af response: body: string: test_file 7 @@ -119,17 +119,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:17 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"ac93527c5b94d0d6651d16b64c24cc5e"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:48 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - e2c18a9a7ba4d418 + - 361531262cea782a X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -149,9 +149,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtp9ka90o51vtict9pv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=e7c48579899ac0f02646ca4a0c052ba20d0d978a61ed25904128abbd9309980d + uri: https://assistant-files.storage.yandexcloud.net/fvt0uhshq4octo7po1dq?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=b2925baa7207cecb64446bf95d64d9eaf719728cba835f8b053325913eaf7e59 response: body: string: test_file 6 @@ -165,17 +165,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:17 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"911df1ef9342387515c9596d468c0fff"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:48 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - 6ba6dd13ca7fa6d3 + - 4b125f968bbecf4f X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -195,9 +195,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtua4sjfh7lvo4ovu4k?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=ffd01070deb44299532f17d4caeb71143b9af41280866e5ced5ecafbe3a28bed + uri: https://assistant-files.storage.yandexcloud.net/fvt6mqhp2cnid839ignt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=c38e0a0795afb50efd5824ab907aa552807da7ec1383e7739f38b76548ea8671 response: body: string: test_file 5 @@ -211,17 +211,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:18 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"9c229ae801ee4f332394fc3c8c6539b9"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:48 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - b766f6528d3821a7 + - 254442fab4280adb X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -241,9 +241,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtji7n46r9rscb8n6t6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=275ec98c054b4cf091c3bed5e36edcad8a8bcae9d3894d6a0e2af508cdc749e4 + uri: https://assistant-files.storage.yandexcloud.net/fvt05o42snipvt7ddrno?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=329af87abb8012311679f476014e1c7af20c9fc577ad0d4723a6f5a09dfe6ef9 response: body: string: test_file 4 @@ -257,17 +257,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:18 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"55f952df45bf503b97185bbca393609e"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:48 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - 8a2820aa058cbdfc + - 5b2899daf1962ffa X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -287,9 +287,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtuacd8986o0bn832l1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=5f045736692ecd24673acb57cde8f3a60960125fc7ec5914cfb1c7bab7ae994a + uri: https://assistant-files.storage.yandexcloud.net/fvtj1j81k26rkhcg9sdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=5353d62b72007aa0c8b6f77cb4234c77323571899cf99c31772004f0fe0d5681 response: body: string: test_file 3 @@ -303,17 +303,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:18 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"f634d70f4d0ee0e1879729253b906cc5"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:48 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - 11e75d2b2016fcee + - 6048d08a6b02b791 X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -333,9 +333,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtdmq06qmdehrc1l6a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=8fbc62968e62594fd822cb6bec018e704370e4342d2af3e7f3b10788ed653cd3 + uri: https://assistant-files.storage.yandexcloud.net/fvt8g2dcksrb5fcklkgk?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=72871d9d3314e8f9894e0d67e96c64e69d10fa44d23b03246f1fc54a4b93d564 response: body: string: test_file 2 @@ -349,17 +349,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:18 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"622514a1542dfee61176c9c2ed6b1300"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:48 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - b11544e3842d9d2f + - 6dfd95dad6ef6955 X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -379,9 +379,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtocg9sh0mvhiqe0slf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=b8d40f32d9c41d0a9a2ef2fcb5c88161ead53965085a22c4950699a5a469b549 + uri: https://assistant-files.storage.yandexcloud.net/fvt0euakj8ndsotj2o27?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=40b3e2cf5b95cce4a5f2527c82e489fa8161fa0fb56a9094d43caccdf9a03540 response: body: string: test_file 1 @@ -395,17 +395,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:18 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"69e7d012ab4e422fef541a48370398b4"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:47 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - 8a082300c2ce4638 + - 477b356f9d81d73f X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: @@ -425,9 +425,9 @@ interactions: host: - assistant-files.storage.yandexcloud.net user-agent: - - python-httpx/0.27.0 + - yandex-cloud-ml-sdk/0.13.0 python/3.12 method: GET - uri: https://assistant-files.storage.yandexcloud.net/fvtjgq2us8r579ceqnht?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20240927T175650Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20240927%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=9506023013a7f418420fa2aa2e93f278a6df2438e64434d6288b5d887bc4ee26 + uri: https://assistant-files.storage.yandexcloud.net/fvt1du9cph03eua8ibh8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250724T142207Z&X-Amz-SignedHeaders=host&X-Amz-Credential=YCAJEHiVgmYku8GTZkpBffKkV%2F20250724%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Expires=3600&X-Amz-Signature=f7a85f50b7f9d123dad49bbbbd170fedf4988f1155dd92fe35ee8b673c7596a7 response: body: string: test_file 0 @@ -441,17 +441,17 @@ interactions: Content-Type: - text/plain Date: - - Fri, 27 Sep 2024 18:25:18 GMT + - Thu, 24 Jul 2025 14:22:07 GMT Etag: - '"900d251541164d17761945cef7feca43"' Keep-Alive: - timeout=60 Last-Modified: - - Fri, 27 Sep 2024 17:56:47 GMT + - Thu, 24 Jul 2025 14:21:46 GMT Server: - nginx X-Amz-Request-Id: - - 215e25a3212d3a12 + - c6fb484851593200 X-Amz-Server-Side-Encryption: - aws:kms X-Amz-Server-Side-Encryption-Aws-Kms-Key-Id: diff --git a/tests/assistants/cassettes/test_messages/test_message.gprc.json b/tests/assistants/cassettes/test_messages/test_message.gprc.json index fc2cd1a9..900f1311 100644 --- a/tests/assistants/cassettes/test_messages/test_message.gprc.json +++ b/tests/assistants/cassettes/test_messages/test_message.gprc.json @@ -79,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -139,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -175,6 +183,10 @@ "id": "fomo-tuning", "address": "fomo-tuning.api.cloud.yandex.net:443" }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -203,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -287,10 +303,22 @@ "id": "managed-spark", "address": "spark.api.cloud.yandex.net:443" }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" @@ -323,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -443,18 +475,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtitqjkhfg44j7i42kv", + "id": "fvtru2b3siljaadgupgh", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt9ot56k7q2men11ugp", + "defaultMessageAuthorId": "fvtjgvuh2mtchr6grkn2", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-03T17:21:52.850407Z", + "createdAt": "2025-07-24T14:22:19.386902Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-03T17:21:52.850407Z", + "updatedAt": "2025-07-24T14:22:19.386902Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-10T17:21:52.850407Z" + "expiresAt": "2025-07-31T14:22:19.386902Z" } } }, @@ -463,7 +495,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtitqjkhfg44j7i42kv", + "threadId": "fvtru2b3siljaadgupgh", "labels": { "foo": "bar" }, @@ -482,12 +514,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtkkjv3nps3mqbbklaj", - "threadId": "fvtitqjkhfg44j7i42kv", + "id": "fvtmtbtapeqi9llcfemg", + "threadId": "fvtru2b3siljaadgupgh", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-03T17:21:52.982345Z", + "createdAt": "2025-07-24T14:22:19.490450Z", "author": { - "id": "fvt9ot56k7q2men11ugp", + "id": "fvtjgvuh2mtchr6grkn2", "role": "USER" }, "labels": { @@ -511,7 +543,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtitqjkhfg44j7i42kv" + "threadId": "fvtru2b3siljaadgupgh" } }, "response": { diff --git a/tests/assistants/cassettes/test_messages/test_message_format.gprc.json b/tests/assistants/cassettes/test_messages/test_message_format.gprc.json index ee75c78e..c691ddca 100644 --- a/tests/assistants/cassettes/test_messages/test_message_format.gprc.json +++ b/tests/assistants/cassettes/test_messages/test_message_format.gprc.json @@ -79,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -175,6 +179,10 @@ "id": "fomo-tuning", "address": "fomo-tuning.api.cloud.yandex.net:443" }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -203,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -287,6 +299,10 @@ "id": "managed-spark", "address": "spark.api.cloud.yandex.net:443" }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" @@ -295,6 +311,10 @@ "id": "managed-trino", "address": "trino.api.cloud.yandex.net:443" }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" @@ -327,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -447,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtknan4t7uv6vpopn9f", + "id": "fvt39834bnorqm7jna30", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtte8thrs10ro70k3d5", + "defaultMessageAuthorId": "fvt2f94feh2jv894i2oj", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-17T17:16:30.057006Z", + "createdAt": "2025-07-24T14:22:21.179055Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-17T17:16:30.057006Z", + "updatedAt": "2025-07-24T14:22:21.179055Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-24T17:16:30.057006Z" + "expiresAt": "2025-07-31T14:22:21.179055Z" } } }, @@ -467,7 +491,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtknan4t7uv6vpopn9f", + "threadId": "fvt39834bnorqm7jna30", "content": { "content": [ { @@ -483,12 +507,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtm4smg5299bv6ssk11", - "threadId": "fvtknan4t7uv6vpopn9f", + "id": "fvti0pkgu0nkofijh5uu", + "threadId": "fvt39834bnorqm7jna30", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-17T17:16:30.237202Z", + "createdAt": "2025-07-24T14:22:21.298840Z", "author": { - "id": "fvtte8thrs10ro70k3d5", + "id": "fvt2f94feh2jv894i2oj", "role": "USER" }, "content": { @@ -509,9 +533,9 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtknan4t7uv6vpopn9f", + "threadId": "fvt39834bnorqm7jna30", "author": { - "id": "yandex-cloud-ml-sdk/0.8.0 python/3.12", + "id": "yandex-cloud-ml-sdk/0.13.0 python/3.12", "role": "ASSISTANT" }, "content": { @@ -529,12 +553,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtf62enqvtmgbaaub2a", - "threadId": "fvtknan4t7uv6vpopn9f", + "id": "fvtrh95ee183d949ato4", + "threadId": "fvt39834bnorqm7jna30", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-17T17:16:30.371333Z", + "createdAt": "2025-07-24T14:22:21.363683Z", "author": { - "id": "yandex-cloud-ml-sdk/0.8.0 python/3.12", + "id": "yandex-cloud-ml-sdk/0.13.0 python/3.12", "role": "ASSISTANT" }, "content": { @@ -555,9 +579,9 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtknan4t7uv6vpopn9f", + "threadId": "fvt39834bnorqm7jna30", "author": { - "id": "yandex-cloud-ml-sdk/0.8.0 python/3.12", + "id": "yandex-cloud-ml-sdk/0.13.0 python/3.12", "role": "ASSISTANT" }, "content": { @@ -575,12 +599,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtuo54bmgklt7jmkk57", - "threadId": "fvtknan4t7uv6vpopn9f", + "id": "fvtk87ohhqki6k01kkmf", + "threadId": "fvt39834bnorqm7jna30", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-17T17:16:31.476562Z", + "createdAt": "2025-07-24T14:22:22.511302Z", "author": { - "id": "yandex-cloud-ml-sdk/0.8.0 python/3.12", + "id": "yandex-cloud-ml-sdk/0.13.0 python/3.12", "role": "ASSISTANT" }, "content": { @@ -601,7 +625,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtknan4t7uv6vpopn9f" + "threadId": "fvt39834bnorqm7jna30" } }, "response": { diff --git a/tests/assistants/cassettes/test_messages/test_message_get.gprc.json b/tests/assistants/cassettes/test_messages/test_message_get.gprc.json index 622c8e1e..cf773e75 100644 --- a/tests/assistants/cassettes/test_messages/test_message_get.gprc.json +++ b/tests/assistants/cassettes/test_messages/test_message_get.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -119,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -147,6 +175,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +275,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +299,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +375,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +475,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtf7ekfbe6sif1ftnab", + "id": "fvts323duss56bsppvet", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt1hbn6kjb6fcc9gq3n", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:16.776781Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:21:16.776781Z", + "defaultMessageAuthorId": "fvtv46tokkkuene7rteb", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:19.717887Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:19.717887Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:21:16.776781Z" + "expiresAt": "2025-07-31T14:22:19.717887Z" } } }, @@ -415,7 +495,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtf7ekfbe6sif1ftnab", + "threadId": "fvts323duss56bsppvet", "content": { "content": [ { @@ -431,12 +511,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvta7ihe66k1or3f937o", - "threadId": "fvtf7ekfbe6sif1ftnab", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:16.948557Z", + "id": "fvt4k20na1q43ts02u3j", + "threadId": "fvts323duss56bsppvet", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:19.826452Z", "author": { - "id": "fvt1hbn6kjb6fcc9gq3n", + "id": "fvtv46tokkkuene7rteb", "role": "USER" }, "content": { @@ -447,7 +527,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -456,20 +537,20 @@ "cls": "GetMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtf7ekfbe6sif1ftnab", - "messageId": "fvta7ihe66k1or3f937o" + "threadId": "fvts323duss56bsppvet", + "messageId": "fvt4k20na1q43ts02u3j" } }, "response": { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvta7ihe66k1or3f937o", - "threadId": "fvtf7ekfbe6sif1ftnab", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:16.948557Z", + "id": "fvt4k20na1q43ts02u3j", + "threadId": "fvts323duss56bsppvet", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:19.826452Z", "author": { - "id": "fvt1hbn6kjb6fcc9gq3n", + "id": "fvtv46tokkkuene7rteb", "role": "USER" }, "content": { @@ -480,7 +561,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -489,7 +571,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtf7ekfbe6sif1ftnab" + "threadId": "fvts323duss56bsppvet" } }, "response": { diff --git a/tests/assistants/cassettes/test_messages/test_message_list.gprc.json b/tests/assistants/cassettes/test_messages/test_message_list.gprc.json index b8520a12..6bd9a4dd 100644 --- a/tests/assistants/cassettes/test_messages/test_message_list.gprc.json +++ b/tests/assistants/cassettes/test_messages/test_message_list.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt2928lvg5duaaof2u1", + "id": "fvt5ir9065aa4gko9cpt", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt5mc6hk9firr6e4t2u", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.424985Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:21:17.424985Z", + "defaultMessageAuthorId": "fvtpsa63de6f7p57anq9", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.073569Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:20.073569Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:21:17.424985Z" + "expiresAt": "2025-07-31T14:22:20.073569Z" } } }, @@ -415,7 +491,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -431,12 +507,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt6hbgr05noppbhh206", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.591066Z", + "id": "fvttkibsnbdl5o5bsirk", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.170570Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -447,7 +523,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -456,7 +533,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -472,12 +549,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtsak5gskutq70qc09t", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.758950Z", + "id": "fvtendubmseluncaqcsq", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.244637Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -488,7 +565,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -497,7 +575,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -513,12 +591,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtms0d1mniv128anjkd", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.919751Z", + "id": "fvtk5dcip9glhi8prtdp", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.302143Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -529,7 +607,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -538,7 +617,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -554,12 +633,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt3pk4mle80udbj6oti", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.106210Z", + "id": "fvtu37te82it07lmkqj0", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.361268Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -570,7 +649,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -579,7 +659,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -595,12 +675,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtmib59msrndg4bt80q", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.255192Z", + "id": "fvtrnr8vfqc0ee5cql8o", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.450576Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -611,7 +691,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -620,7 +701,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -636,12 +717,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt3pbn6ahscdhgp1cai", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.395015Z", + "id": "fvtjehmmj1v0itng7jj6", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.522353Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -652,7 +733,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -661,7 +743,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -677,12 +759,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtu73f7kcmmo6srkkf9", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.511772Z", + "id": "fvtki7l4otempmlq6em4", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.576531Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -693,7 +775,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -702,7 +785,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -718,12 +801,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtiik3ume2rcfldsftf", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.621174Z", + "id": "fvtrq30cu2b93jtpsgq3", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.631486Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -734,7 +817,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -743,7 +827,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -759,12 +843,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtnllhllqi0te46jag9", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.790934Z", + "id": "fvt1t0k00d3s3crrvvib", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.838673Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -775,7 +859,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -784,7 +869,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1", + "threadId": "fvt5ir9065aa4gko9cpt", "content": { "content": [ { @@ -800,12 +885,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtvpua4a7b0ktnh26v5", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.931261Z", + "id": "fvt9o8qrv518jtm52u7m", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.912721Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -816,7 +901,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -825,7 +911,7 @@ "cls": "ListMessagesRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1" + "threadId": "fvt5ir9065aa4gko9cpt" } }, "response_stream": [ @@ -833,12 +919,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtvpua4a7b0ktnh26v5", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.931261Z", + "id": "fvt9o8qrv518jtm52u7m", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.912721Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -849,19 +935,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtnllhllqi0te46jag9", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.790934Z", + "id": "fvt1t0k00d3s3crrvvib", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.838673Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -872,19 +959,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtiik3ume2rcfldsftf", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.621174Z", + "id": "fvtrq30cu2b93jtpsgq3", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.631486Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -895,19 +983,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtu73f7kcmmo6srkkf9", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.511772Z", + "id": "fvtki7l4otempmlq6em4", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.576531Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -918,19 +1007,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt3pbn6ahscdhgp1cai", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.395015Z", + "id": "fvtjehmmj1v0itng7jj6", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.522353Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -941,19 +1031,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtmib59msrndg4bt80q", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.255192Z", + "id": "fvtrnr8vfqc0ee5cql8o", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.450576Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -964,19 +1055,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt3pk4mle80udbj6oti", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:18.106210Z", + "id": "fvtu37te82it07lmkqj0", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.361268Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -987,19 +1079,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtms0d1mniv128anjkd", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.919751Z", + "id": "fvtk5dcip9glhi8prtdp", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.302143Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -1010,19 +1103,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtsak5gskutq70qc09t", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.758950Z", + "id": "fvtendubmseluncaqcsq", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.244637Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -1033,19 +1127,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt6hbgr05noppbhh206", - "threadId": "fvt2928lvg5duaaof2u1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:21:17.591066Z", + "id": "fvttkibsnbdl5o5bsirk", + "threadId": "fvt5ir9065aa4gko9cpt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:20.170570Z", "author": { - "id": "fvt5mc6hk9firr6e4t2u", + "id": "fvtpsa63de6f7p57anq9", "role": "USER" }, "content": { @@ -1056,7 +1151,8 @@ } } ] - } + }, + "status": "COMPLETED" } } ] @@ -1066,7 +1162,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt2928lvg5duaaof2u1" + "threadId": "fvt5ir9065aa4gko9cpt" } }, "response": { diff --git a/tests/assistants/cassettes/test_search_indexes/test_add_to_search_index.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_add_to_search_index.gprc.json index a7928816..de82384e 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_add_to_search_index.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_add_to_search_index.gprc.json @@ -79,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -139,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -175,6 +183,10 @@ "id": "fomo-tuning", "address": "fomo-tuning.api.cloud.yandex.net:443" }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -203,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -259,6 +275,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -279,10 +299,26 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" @@ -315,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -429,25 +469,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtsqark68g9hvl62gda", + "id": "fvtr80fits7fkgbvjh9d", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:06.758459Z", + "createdAt": "2025-07-24T14:25:46.823158Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-03-03T15:32:06.758459Z", + "updatedAt": "2025-07-24T14:25:46.823158Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-03-10T15:32:06.758459Z" + "expiresAt": "2025-07-31T14:25:46.823158Z" } } }, @@ -458,7 +498,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvtsqark68g9hvl62gda" + "fvtr80fits7fkgbvjh9d" ] } }, @@ -466,11 +506,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt103rv3mcth6tq4an3", + "id": "fvtaa5qog4t4st2bhnpa", "description": "search index creation", - "createdAt": "2025-03-03T15:32:07.007914Z", + "createdAt": "2025-07-24T14:25:46.982983Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-03T15:32:07.007914Z" + "modifiedAt": "2025-07-24T14:25:46.982983Z" } } }, @@ -479,18 +519,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt103rv3mcth6tq4an3" + "operationId": "fvtaa5qog4t4st2bhnpa" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt103rv3mcth6tq4an3", + "id": "fvtaa5qog4t4st2bhnpa", "description": "search index creation", - "createdAt": "2025-03-03T15:32:07.007914Z", + "createdAt": "2025-07-24T14:25:46.982983Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-03T15:32:07.007914Z" + "modifiedAt": "2025-07-24T14:25:46.982983Z" } } }, @@ -499,32 +539,32 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt103rv3mcth6tq4an3" + "operationId": "fvtaa5qog4t4st2bhnpa" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt103rv3mcth6tq4an3", + "id": "fvtaa5qog4t4st2bhnpa", "description": "search index creation", - "createdAt": "2025-03-03T15:32:07.007914Z", + "createdAt": "2025-07-24T14:25:46.982983Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-03T15:32:08.295309Z", + "modifiedAt": "2025-07-24T14:25:48.486032Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtsk8p1vnf69fgn5lgn", + "id": "fvt9lnter1hceqqckdoo", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:07.135890Z", + "createdAt": "2025-07-24T14:25:47.356802Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-03-03T15:32:07.135890Z", + "updatedAt": "2025-07-24T14:25:47.356802Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-03-10T15:32:07.135890Z", + "expiresAt": "2025-07-31T14:25:47.356802Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -532,10 +572,8 @@ "chunkOverlapTokens": "400" } }, - "ngramTokenizer": { - "minGram": "3", - "maxGram": "4" - } + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -546,7 +584,7 @@ "cls": "ListSearchIndexFilesRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2", "message": { - "searchIndexId": "fvtsk8p1vnf69fgn5lgn" + "searchIndexId": "fvt9lnter1hceqqckdoo" } }, "response": { @@ -555,13 +593,13 @@ "message": { "files": [ { - "id": "fvtsqark68g9hvl62gda", - "searchIndexId": "fvtsk8p1vnf69fgn5lgn", + "id": "fvtr80fits7fkgbvjh9d", + "searchIndexId": "fvt9lnter1hceqqckdoo", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:07.179282Z" + "createdAt": "2025-07-24T14:25:47.458091Z" } ], - "nextPageToken": "MjAyNS0wMy0wM1QxNTozMjowNy4xNzkyODJAZnZ0c3Fhcms2OGc5aHZsNjJnZGE=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoyNTo0Ny40NTgwOTFAZnZ0cjgwZml0czdma2didmpoOWQ=" } } }, @@ -570,8 +608,8 @@ "cls": "ListSearchIndexFilesRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2", "message": { - "searchIndexId": "fvtsk8p1vnf69fgn5lgn", - "pageToken": "MjAyNS0wMy0wM1QxNTozMjowNy4xNzkyODJAZnZ0c3Fhcms2OGc5aHZsNjJnZGE=" + "searchIndexId": "fvt9lnter1hceqqckdoo", + "pageToken": "MjAyNS0wNy0yNFQxNDoyNTo0Ny40NTgwOTFAZnZ0cjgwZml0czdma2didmpoOWQ=" } }, "response": { @@ -586,25 +624,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt9vfchl0of53tompmt", + "id": "fvthp22nies50asq9vbc", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:17.342328Z", + "createdAt": "2025-07-24T14:25:57.541432Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-03-03T15:32:17.342328Z", + "updatedAt": "2025-07-24T14:25:57.541432Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-03-10T15:32:17.342328Z" + "expiresAt": "2025-07-31T14:25:57.541432Z" } } }, @@ -614,20 +652,20 @@ "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2", "message": { "fileIds": [ - "fvt9vfchl0of53tompmt" + "fvthp22nies50asq9vbc" ], - "searchIndexId": "fvtsk8p1vnf69fgn5lgn" + "searchIndexId": "fvt9lnter1hceqqckdoo" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtcps3f5djhvq92uouo", - "description": "indexing files for search index ", - "createdAt": "2025-03-03T15:32:17.577127Z", + "id": "fvt9t4g6762rqjum0act", + "description": "indexing files for search index ", + "createdAt": "2025-07-24T14:25:57.662272Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-03T15:32:17.577127Z" + "modifiedAt": "2025-07-24T14:25:57.662272Z" } } }, @@ -636,18 +674,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtcps3f5djhvq92uouo" + "operationId": "fvt9t4g6762rqjum0act" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtcps3f5djhvq92uouo", - "description": "indexing files for search index ", - "createdAt": "2025-03-03T15:32:17.577127Z", + "id": "fvt9t4g6762rqjum0act", + "description": "indexing files for search index ", + "createdAt": "2025-07-24T14:25:57.662272Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-03T15:32:17.577127Z" + "modifiedAt": "2025-07-24T14:25:57.662272Z" } } }, @@ -656,27 +694,27 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtcps3f5djhvq92uouo" + "operationId": "fvt9t4g6762rqjum0act" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtcps3f5djhvq92uouo", - "description": "indexing files for search index ", - "createdAt": "2025-03-03T15:32:17.577127Z", + "id": "fvt9t4g6762rqjum0act", + "description": "indexing files for search index ", + "createdAt": "2025-07-24T14:25:57.662272Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-03T15:32:17.894511Z", + "modifiedAt": "2025-07-24T14:25:57.949063Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.BatchCreateSearchIndexFileResponse", "files": [ { - "id": "fvt9vfchl0of53tompmt", - "searchIndexId": "fvtsk8p1vnf69fgn5lgn", + "id": "fvthp22nies50asq9vbc", + "searchIndexId": "fvt9lnter1hceqqckdoo", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:17.601690834Z" + "createdAt": "2025-07-24T14:25:57.674092531Z" } ] } @@ -688,7 +726,7 @@ "cls": "ListSearchIndexFilesRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2", "message": { - "searchIndexId": "fvtsk8p1vnf69fgn5lgn" + "searchIndexId": "fvt9lnter1hceqqckdoo" } }, "response": { @@ -697,19 +735,19 @@ "message": { "files": [ { - "id": "fvt9vfchl0of53tompmt", - "searchIndexId": "fvtsk8p1vnf69fgn5lgn", + "id": "fvthp22nies50asq9vbc", + "searchIndexId": "fvt9lnter1hceqqckdoo", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:17.601691Z" + "createdAt": "2025-07-24T14:25:57.674093Z" }, { - "id": "fvtsqark68g9hvl62gda", - "searchIndexId": "fvtsk8p1vnf69fgn5lgn", + "id": "fvtr80fits7fkgbvjh9d", + "searchIndexId": "fvt9lnter1hceqqckdoo", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-03T15:32:07.179282Z" + "createdAt": "2025-07-24T14:25:47.458091Z" } ], - "nextPageToken": "MjAyNS0wMy0wM1QxNTozMjowNy4xNzkyODJAZnZ0c3Fhcms2OGc5aHZsNjJnZGE=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoyNTo0Ny40NTgwOTFAZnZ0cjgwZml0czdma2didmpoOWQ=" } } }, @@ -718,8 +756,8 @@ "cls": "ListSearchIndexFilesRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_file_service_pb2", "message": { - "searchIndexId": "fvtsk8p1vnf69fgn5lgn", - "pageToken": "MjAyNS0wMy0wM1QxNTozMjowNy4xNzkyODJAZnZ0c3Fhcms2OGc5aHZsNjJnZGE=" + "searchIndexId": "fvt9lnter1hceqqckdoo", + "pageToken": "MjAyNS0wNy0yNFQxNDoyNTo0Ny40NTgwOTFAZnZ0cjgwZml0czdma2didmpoOWQ=" } }, "response": { diff --git a/tests/assistants/cassettes/test_search_indexes/test_assistant_with_search_index.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_assistant_with_search_index.gprc.json index f5c60070..93cc9eaf 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_assistant_with_search_index.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_assistant_with_search_index.gprc.json @@ -79,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -139,6 +143,10 @@ "id": "compute", "address": "compute.api.cloud.yandex.net:443" }, + { + "id": "connection-manager", + "address": "connectionmanager.api.cloud.yandex.net:443" + }, { "id": "container-registry", "address": "container-registry.api.cloud.yandex.net:443" @@ -175,6 +183,10 @@ "id": "fomo-tuning", "address": "fomo-tuning.api.cloud.yandex.net:443" }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -203,6 +215,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -287,10 +303,22 @@ "id": "managed-spark", "address": "spark.api.cloud.yandex.net:443" }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" @@ -323,6 +351,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -444,18 +476,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt5a0m5h1ig1pif451r", + "id": "fvtemftm5ra35bfpcus8", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:02.776249Z", + "createdAt": "2025-07-24T14:25:13.273644Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:02.776249Z", + "updatedAt": "2025-07-24T14:25:13.273644Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:02.776249Z" + "expiresAt": "2025-07-31T14:25:13.273644Z" } } }, @@ -466,7 +498,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvt5a0m5h1ig1pif451r" + "fvtemftm5ra35bfpcus8" ] } }, @@ -474,11 +506,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtlrih8vjjimj4b77jo", + "id": "fvtuod20507bi1uh7011", "description": "search index creation", - "createdAt": "2025-04-07T14:56:03.046476Z", + "createdAt": "2025-07-24T14:25:13.378659Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-04-07T14:56:03.046476Z" + "modifiedAt": "2025-07-24T14:25:13.378659Z" } } }, @@ -487,18 +519,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtlrih8vjjimj4b77jo" + "operationId": "fvtuod20507bi1uh7011" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtlrih8vjjimj4b77jo", + "id": "fvtuod20507bi1uh7011", "description": "search index creation", - "createdAt": "2025-04-07T14:56:03.046476Z", + "createdAt": "2025-07-24T14:25:13.378659Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-04-07T14:56:03.046476Z" + "modifiedAt": "2025-07-24T14:25:13.378659Z" } } }, @@ -507,32 +539,32 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtlrih8vjjimj4b77jo" + "operationId": "fvtuod20507bi1uh7011" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtlrih8vjjimj4b77jo", + "id": "fvtuod20507bi1uh7011", "description": "search index creation", - "createdAt": "2025-04-07T14:56:03.046476Z", + "createdAt": "2025-07-24T14:25:13.378659Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-04-07T14:56:03.806987Z", + "modifiedAt": "2025-07-24T14:25:18.456869Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtuh1rimlqi82gid3tb", + "id": "fvtkilrps3c8r6qme20e", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:03.112093Z", + "createdAt": "2025-07-24T14:25:15.316597Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:03.112093Z", + "updatedAt": "2025-07-24T14:25:15.316597Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:03.112093Z", + "expiresAt": "2025-07-31T14:25:15.316597Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -540,10 +572,8 @@ "chunkOverlapTokens": "400" } }, - "ngramTokenizer": { - "minGram": "3", - "maxGram": "4" - } + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -561,7 +591,7 @@ { "searchIndex": { "searchIndexIds": [ - "fvtuh1rimlqi82gid3tb" + "fvtkilrps3c8r6qme20e" ] } } @@ -572,17 +602,17 @@ "cls": "Assistant", "module": "yandex.cloud.ai.assistants.v1.assistant_pb2", "message": { - "id": "fvtrkoa73tvj3239t25j", + "id": "fvt1s72td6r10cundn7m", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.474150Z", + "createdAt": "2025-07-24T14:25:23.715341Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:13.474150Z", + "updatedAt": "2025-07-24T14:25:23.715341Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:13.474150Z", + "expiresAt": "2025-07-31T14:25:23.715341Z", "modelUri": "gpt://b1ghsjum2v37c2un8h64/yandexgpt/latest", "promptTruncationOptions": { "autoStrategy": {} @@ -592,8 +622,11 @@ { "searchIndex": { "searchIndexIds": [ - "fvtuh1rimlqi82gid3tb" - ] + "fvtkilrps3c8r6qme20e" + ], + "callStrategy": { + "alwaysCall": {} + } } } ] @@ -612,18 +645,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt98np5k6a7q5h5b6od", + "id": "fvtta5pi19rgv4cqjv14", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt8u8kphkmo9j18j5g2", + "defaultMessageAuthorId": "fvtvlnhk81j5cf6dnnup", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.652175Z", + "createdAt": "2025-07-24T14:25:23.807334Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:13.652175Z", + "updatedAt": "2025-07-24T14:25:23.807334Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:13.652175Z" + "expiresAt": "2025-07-31T14:25:23.807334Z" } } }, @@ -632,7 +665,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt98np5k6a7q5h5b6od", + "threadId": "fvtta5pi19rgv4cqjv14", "content": { "content": [ { @@ -648,12 +681,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtqt5gq9hktfopgga1h", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvtun8gh50hfoe6bj165", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.789701Z", + "createdAt": "2025-07-24T14:25:23.915307Z", "author": { - "id": "fvt8u8kphkmo9j18j5g2", + "id": "fvtvlnhk81j5cf6dnnup", "role": "USER" }, "content": { @@ -674,19 +707,19 @@ "cls": "CreateRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "assistantId": "fvtrkoa73tvj3239t25j", - "threadId": "fvt98np5k6a7q5h5b6od" + "assistantId": "fvt1s72td6r10cundn7m", + "threadId": "fvtta5pi19rgv4cqjv14" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvthob9vc25necq1e78s", - "assistantId": "fvtrkoa73tvj3239t25j", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvte3r7iuvhntt6t0osv", + "assistantId": "fvt1s72td6r10cundn7m", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.886423742Z", + "createdAt": "2025-07-24T14:25:23.992815368Z", "state": { "status": "PENDING" } @@ -698,18 +731,18 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvthob9vc25necq1e78s" + "runId": "fvte3r7iuvhntt6t0osv" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvthob9vc25necq1e78s", - "assistantId": "fvtrkoa73tvj3239t25j", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvte3r7iuvhntt6t0osv", + "assistantId": "fvt1s72td6r10cundn7m", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.886423742Z", + "createdAt": "2025-07-24T14:25:23.992815368Z", "state": { "status": "PENDING" } @@ -721,27 +754,50 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvthob9vc25necq1e78s" + "runId": "fvte3r7iuvhntt6t0osv" + } + }, + "response": { + "cls": "Run", + "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", + "message": { + "id": "fvte3r7iuvhntt6t0osv", + "assistantId": "fvt1s72td6r10cundn7m", + "threadId": "fvtta5pi19rgv4cqjv14", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:25:23.992815368Z", + "state": { + "status": "IN_PROGRESS" + } + } + } + }, + { + "request": { + "cls": "GetRunRequest", + "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", + "message": { + "runId": "fvte3r7iuvhntt6t0osv" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvthob9vc25necq1e78s", - "assistantId": "fvtrkoa73tvj3239t25j", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvte3r7iuvhntt6t0osv", + "assistantId": "fvt1s72td6r10cundn7m", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.886423742Z", + "createdAt": "2025-07-24T14:25:23.992815368Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvt52f9vvrmokikf4s7t", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvt03vg0aijui06rt3ig", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:14.404329217Z", + "createdAt": "2025-07-24T14:25:24.537183291Z", "author": { - "id": "fvtrkoa73tvj3239t25j", + "id": "fvt1s72td6r10cundn7m", "role": "ASSISTANT" }, "content": { @@ -760,39 +816,41 @@ { "chunk": { "searchIndex": { - "id": "fvtuh1rimlqi82gid3tb", + "id": "fvtkilrps3c8r6qme20e", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:03.112093Z", + "createdAt": "2025-07-24T14:25:15.316597Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:03.800743Z", + "updatedAt": "2025-07-24T14:25:18.455497Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:03.112093Z", + "expiresAt": "2025-07-31T14:25:15.316597Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, "sourceFile": { - "id": "fvt5a0m5h1ig1pif451r", + "id": "fvtemftm5ra35bfpcus8", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:02.776249Z", + "createdAt": "2025-07-24T14:25:13.273644Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:02.776249Z", + "updatedAt": "2025-07-24T14:25:13.273644Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:03.132961Z" + "expiresAt": "2025-07-31T14:25:15.341651Z" }, "content": { "content": [ @@ -823,27 +881,27 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvthob9vc25necq1e78s" + "runId": "fvte3r7iuvhntt6t0osv" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvthob9vc25necq1e78s", - "assistantId": "fvtrkoa73tvj3239t25j", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvte3r7iuvhntt6t0osv", + "assistantId": "fvt1s72td6r10cundn7m", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:13.886423742Z", + "createdAt": "2025-07-24T14:25:23.992815368Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvt52f9vvrmokikf4s7t", - "threadId": "fvt98np5k6a7q5h5b6od", + "id": "fvt03vg0aijui06rt3ig", + "threadId": "fvtta5pi19rgv4cqjv14", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:14.404329217Z", + "createdAt": "2025-07-24T14:25:24.537183291Z", "author": { - "id": "fvtrkoa73tvj3239t25j", + "id": "fvt1s72td6r10cundn7m", "role": "ASSISTANT" }, "content": { @@ -862,39 +920,41 @@ { "chunk": { "searchIndex": { - "id": "fvtuh1rimlqi82gid3tb", + "id": "fvtkilrps3c8r6qme20e", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:03.112093Z", + "createdAt": "2025-07-24T14:25:15.316597Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:03.800743Z", + "updatedAt": "2025-07-24T14:25:18.455497Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:03.112093Z", + "expiresAt": "2025-07-31T14:25:15.316597Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, "sourceFile": { - "id": "fvt5a0m5h1ig1pif451r", + "id": "fvtemftm5ra35bfpcus8", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-04-07T14:56:02.776249Z", + "createdAt": "2025-07-24T14:25:13.273644Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-04-07T14:56:02.776249Z", + "updatedAt": "2025-07-24T14:25:13.273644Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-04-14T14:56:03.132961Z" + "expiresAt": "2025-07-31T14:25:15.341651Z" }, "content": { "content": [ @@ -925,7 +985,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtuh1rimlqi82gid3tb" + "searchIndexId": "fvtkilrps3c8r6qme20e" } }, "response": { @@ -939,7 +999,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt98np5k6a7q5h5b6od" + "threadId": "fvtta5pi19rgv4cqjv14" } }, "response": { @@ -953,7 +1013,7 @@ "cls": "DeleteAssistantRequest", "module": "yandex.cloud.ai.assistants.v1.assistant_service_pb2", "message": { - "assistantId": "fvtrkoa73tvj3239t25j" + "assistantId": "fvt1s72td6r10cundn7m" } }, "response": { @@ -967,7 +1027,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt5a0m5h1ig1pif451r" + "fileId": "fvtemftm5ra35bfpcus8" } }, "response": { diff --git a/tests/assistants/cassettes/test_search_indexes/test_call_strategy_search_index.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_call_strategy_search_index.gprc.json index 66e3974e..9913a2a1 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_call_strategy_search_index.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_call_strategy_search_index.gprc.json @@ -472,18 +472,18 @@ "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt0ogmrojgbr5mkuabb", + "id": "fvthq2si8brpvqmmg53s", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.141210Z", + "createdAt": "2025-07-24T14:26:08.131527Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:31.141210Z", + "updatedAt": "2025-07-24T14:26:08.131527Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.141210Z" + "expiresAt": "2025-07-31T14:26:08.131527Z" } } }, @@ -494,7 +494,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvt0ogmrojgbr5mkuabb" + "fvthq2si8brpvqmmg53s" ] } }, @@ -502,11 +502,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt7p4a8ld1d1kh324df", + "id": "fvt5j2fv51r25at81pm5", "description": "search index creation", - "createdAt": "2025-07-17T18:02:31.350593Z", + "createdAt": "2025-07-24T14:26:08.261192Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-07-17T18:02:31.350593Z" + "modifiedAt": "2025-07-24T14:26:08.261192Z" } } }, @@ -515,18 +515,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt7p4a8ld1d1kh324df" + "operationId": "fvt5j2fv51r25at81pm5" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt7p4a8ld1d1kh324df", + "id": "fvt5j2fv51r25at81pm5", "description": "search index creation", - "createdAt": "2025-07-17T18:02:31.350593Z", + "createdAt": "2025-07-24T14:26:08.261192Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-07-17T18:02:31.350593Z" + "modifiedAt": "2025-07-24T14:26:08.261192Z" } } }, @@ -535,32 +535,32 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt7p4a8ld1d1kh324df" + "operationId": "fvt5j2fv51r25at81pm5" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt7p4a8ld1d1kh324df", + "id": "fvt5j2fv51r25at81pm5", "description": "search index creation", - "createdAt": "2025-07-17T18:02:31.350593Z", + "createdAt": "2025-07-24T14:26:08.261192Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-07-17T18:02:32.771474Z", + "modifiedAt": "2025-07-24T14:26:09.559112Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtavu9kirfk60bfqo2u", + "id": "fvtpabs6qf144941m9r4", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.422688Z", + "createdAt": "2025-07-24T14:26:08.340581Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:31.422688Z", + "updatedAt": "2025-07-24T14:26:08.340581Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.422688Z", + "expiresAt": "2025-07-31T14:26:08.340581Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -587,18 +587,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtom7ho6k35um57n0te", + "id": "fvt03veop86n8fm9ret9", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtd1f64i8h4ffguelgb", + "defaultMessageAuthorId": "fvtftns301gq2j69n3pi", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.653065Z", + "createdAt": "2025-07-24T14:26:18.591352Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:41.653065Z", + "updatedAt": "2025-07-24T14:26:18.591352Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:41.653065Z" + "expiresAt": "2025-07-31T14:26:18.591352Z" } } }, @@ -614,7 +614,7 @@ { "searchIndex": { "searchIndexIds": [ - "fvtavu9kirfk60bfqo2u" + "fvtpabs6qf144941m9r4" ] } } @@ -625,17 +625,17 @@ "cls": "Assistant", "module": "yandex.cloud.ai.assistants.v1.assistant_pb2", "message": { - "id": "fvt6fqsrhp0524dlka3d", + "id": "fvtd235bt1dilsm55fgr", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.758740Z", + "createdAt": "2025-07-24T14:26:18.726998Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:41.758740Z", + "updatedAt": "2025-07-24T14:26:18.726998Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:41.758740Z", + "expiresAt": "2025-07-31T14:26:18.726998Z", "modelUri": "gpt://b1ghsjum2v37c2un8h64/yandexgpt/latest", "promptTruncationOptions": { "autoStrategy": {} @@ -645,7 +645,7 @@ { "searchIndex": { "searchIndexIds": [ - "fvtavu9kirfk60bfqo2u" + "fvtpabs6qf144941m9r4" ], "callStrategy": { "alwaysCall": {} @@ -661,7 +661,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtom7ho6k35um57n0te", + "threadId": "fvt03veop86n8fm9ret9", "content": { "content": [ { @@ -677,12 +677,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtmn8sp4riv01okqcu2", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvtd935qc16rd9uin4qh", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.868787Z", + "createdAt": "2025-07-24T14:26:18.889099Z", "author": { - "id": "fvtd1f64i8h4ffguelgb", + "id": "fvtftns301gq2j69n3pi", "role": "USER" }, "content": { @@ -703,19 +703,19 @@ "cls": "CreateRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "assistantId": "fvt6fqsrhp0524dlka3d", - "threadId": "fvtom7ho6k35um57n0te" + "assistantId": "fvtd235bt1dilsm55fgr", + "threadId": "fvt03veop86n8fm9ret9" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvt8shfis3oc9gqsn4jg", - "assistantId": "fvt6fqsrhp0524dlka3d", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvtn81odhaehkp5kbh2a", + "assistantId": "fvtd235bt1dilsm55fgr", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.966635871Z", + "createdAt": "2025-07-24T14:26:18.983343457Z", "state": { "status": "PENDING" } @@ -727,20 +727,20 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvt8shfis3oc9gqsn4jg" + "runId": "fvtn81odhaehkp5kbh2a" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvt8shfis3oc9gqsn4jg", - "assistantId": "fvt6fqsrhp0524dlka3d", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvtn81odhaehkp5kbh2a", + "assistantId": "fvtd235bt1dilsm55fgr", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.966635871Z", + "createdAt": "2025-07-24T14:26:18.983343457Z", "state": { - "status": "IN_PROGRESS" + "status": "PENDING" } } } @@ -750,27 +750,27 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvt8shfis3oc9gqsn4jg" + "runId": "fvtn81odhaehkp5kbh2a" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvt8shfis3oc9gqsn4jg", - "assistantId": "fvt6fqsrhp0524dlka3d", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvtn81odhaehkp5kbh2a", + "assistantId": "fvtd235bt1dilsm55fgr", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.966635871Z", + "createdAt": "2025-07-24T14:26:18.983343457Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvtv45j2cm3e0vce880q", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvt64s9dfip7rp24diiu", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.289660074Z", + "createdAt": "2025-07-24T14:26:19.309680742Z", "author": { - "id": "fvt6fqsrhp0524dlka3d", + "id": "fvtd235bt1dilsm55fgr", "role": "ASSISTANT" }, "content": { @@ -789,17 +789,17 @@ { "chunk": { "searchIndex": { - "id": "fvtavu9kirfk60bfqo2u", + "id": "fvtpabs6qf144941m9r4", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.422688Z", + "createdAt": "2025-07-24T14:26:08.340581Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:32.765048Z", + "updatedAt": "2025-07-24T14:26:09.547870Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.422688Z", + "expiresAt": "2025-07-31T14:26:08.340581Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -812,18 +812,18 @@ } }, "sourceFile": { - "id": "fvt0ogmrojgbr5mkuabb", + "id": "fvthq2si8brpvqmmg53s", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.141210Z", + "createdAt": "2025-07-24T14:26:08.131527Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:31.141210Z", + "updatedAt": "2025-07-24T14:26:08.131527Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.484106Z" + "expiresAt": "2025-07-31T14:26:08.371030Z" }, "content": { "content": [ @@ -854,27 +854,27 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvt8shfis3oc9gqsn4jg" + "runId": "fvtn81odhaehkp5kbh2a" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvt8shfis3oc9gqsn4jg", - "assistantId": "fvt6fqsrhp0524dlka3d", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvtn81odhaehkp5kbh2a", + "assistantId": "fvtd235bt1dilsm55fgr", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:41.966635871Z", + "createdAt": "2025-07-24T14:26:18.983343457Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvtv45j2cm3e0vce880q", - "threadId": "fvtom7ho6k35um57n0te", + "id": "fvt64s9dfip7rp24diiu", + "threadId": "fvt03veop86n8fm9ret9", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.289660074Z", + "createdAt": "2025-07-24T14:26:19.309680742Z", "author": { - "id": "fvt6fqsrhp0524dlka3d", + "id": "fvtd235bt1dilsm55fgr", "role": "ASSISTANT" }, "content": { @@ -893,17 +893,17 @@ { "chunk": { "searchIndex": { - "id": "fvtavu9kirfk60bfqo2u", + "id": "fvtpabs6qf144941m9r4", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.422688Z", + "createdAt": "2025-07-24T14:26:08.340581Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:32.765048Z", + "updatedAt": "2025-07-24T14:26:09.547870Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.422688Z", + "expiresAt": "2025-07-31T14:26:08.340581Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -916,18 +916,18 @@ } }, "sourceFile": { - "id": "fvt0ogmrojgbr5mkuabb", + "id": "fvthq2si8brpvqmmg53s", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.141210Z", + "createdAt": "2025-07-24T14:26:08.131527Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:31.141210Z", + "updatedAt": "2025-07-24T14:26:08.131527Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.484106Z" + "expiresAt": "2025-07-31T14:26:08.371030Z" }, "content": { "content": [ @@ -965,7 +965,7 @@ { "searchIndex": { "searchIndexIds": [ - "fvtavu9kirfk60bfqo2u" + "fvtpabs6qf144941m9r4" ], "callStrategy": { "autoCall": { @@ -982,17 +982,17 @@ "cls": "Assistant", "module": "yandex.cloud.ai.assistants.v1.assistant_pb2", "message": { - "id": "fvtqd4ugujvpmo53oma3", + "id": "fvtu8uop8bp9p7lc7u0i", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.632524Z", + "createdAt": "2025-07-24T14:26:19.592492Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:42.632524Z", + "updatedAt": "2025-07-24T14:26:19.592492Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:42.632524Z", + "expiresAt": "2025-07-31T14:26:19.592492Z", "modelUri": "gpt://b1ghsjum2v37c2un8h64/yandexgpt/latest", "promptTruncationOptions": { "autoStrategy": {} @@ -1002,7 +1002,7 @@ { "searchIndex": { "searchIndexIds": [ - "fvtavu9kirfk60bfqo2u" + "fvtpabs6qf144941m9r4" ], "callStrategy": { "autoCall": { @@ -1028,18 +1028,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtc5f14udkknf306nul", + "id": "fvt9a4leaiak4v1h215i", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtd5tjob41t50dvg11p", + "defaultMessageAuthorId": "fvtshbdrsd8sr9terek1", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.707008Z", + "createdAt": "2025-07-24T14:26:19.640977Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:42.707008Z", + "updatedAt": "2025-07-24T14:26:19.640977Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:42.707008Z" + "expiresAt": "2025-07-31T14:26:19.640977Z" } } }, @@ -1048,7 +1048,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvtc5f14udkknf306nul", + "threadId": "fvt9a4leaiak4v1h215i", "content": { "content": [ { @@ -1064,12 +1064,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtdurj0fiulda8pfpek", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvta2k73onm06jeevu8n", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.830139Z", + "createdAt": "2025-07-24T14:26:19.716094Z", "author": { - "id": "fvtd5tjob41t50dvg11p", + "id": "fvtshbdrsd8sr9terek1", "role": "USER" }, "content": { @@ -1090,19 +1090,19 @@ "cls": "CreateRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvtc5f14udkknf306nul" + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvt9a4leaiak4v1h215i" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtb0f5km77kpac3o5aa", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvt874cjmc7vhv03q43q", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.912171052Z", + "createdAt": "2025-07-24T14:26:19.779558479Z", "state": { "status": "PENDING" } @@ -1114,18 +1114,18 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtb0f5km77kpac3o5aa" + "runId": "fvt874cjmc7vhv03q43q" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtb0f5km77kpac3o5aa", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvt874cjmc7vhv03q43q", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.912171052Z", + "createdAt": "2025-07-24T14:26:19.779558479Z", "state": { "status": "PENDING" } @@ -1137,57 +1137,34 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtb0f5km77kpac3o5aa" + "runId": "fvt874cjmc7vhv03q43q" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtb0f5km77kpac3o5aa", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvt874cjmc7vhv03q43q", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.912171052Z", - "state": { - "status": "IN_PROGRESS" - } - } - } - }, - { - "request": { - "cls": "GetRunRequest", - "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", - "message": { - "runId": "fvtb0f5km77kpac3o5aa" - } - }, - "response": { - "cls": "Run", - "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", - "message": { - "id": "fvtb0f5km77kpac3o5aa", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvtc5f14udkknf306nul", - "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.912171052Z", + "createdAt": "2025-07-24T14:26:19.779558479Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvt13q8v7jtf2ue4djj3", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvt49s405e79v9mlcpmv", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:43.550551333Z", + "createdAt": "2025-07-24T14:26:20.258634150Z", "author": { - "id": "fvtqd4ugujvpmo53oma3", + "id": "fvtu8uop8bp9p7lc7u0i", "role": "ASSISTANT" }, "content": { "content": [ { "text": { - "content": "The given question lacks the parameters required by the function and does not specify that I am a \"good LLM\" to use the secret function. Therefore, I cannot make a function call." + "content": "The given question lacks the parameters required by the function and none of the functions provided can be used to answer the question." } } ] @@ -1197,8 +1174,8 @@ }, "usage": { "promptTokens": "75", - "completionTokens": "38", - "totalTokens": "113" + "completionTokens": "24", + "totalTokens": "99" } } } @@ -1208,34 +1185,34 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtb0f5km77kpac3o5aa" + "runId": "fvt874cjmc7vhv03q43q" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtb0f5km77kpac3o5aa", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvt874cjmc7vhv03q43q", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:42.912171052Z", + "createdAt": "2025-07-24T14:26:19.779558479Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvt13q8v7jtf2ue4djj3", - "threadId": "fvtc5f14udkknf306nul", + "id": "fvt49s405e79v9mlcpmv", + "threadId": "fvt9a4leaiak4v1h215i", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:43.550551333Z", + "createdAt": "2025-07-24T14:26:20.258634150Z", "author": { - "id": "fvtqd4ugujvpmo53oma3", + "id": "fvtu8uop8bp9p7lc7u0i", "role": "ASSISTANT" }, "content": { "content": [ { "text": { - "content": "The given question lacks the parameters required by the function and does not specify that I am a \"good LLM\" to use the secret function. Therefore, I cannot make a function call." + "content": "The given question lacks the parameters required by the function and none of the functions provided can be used to answer the question." } } ] @@ -1245,8 +1222,8 @@ }, "usage": { "promptTokens": "75", - "completionTokens": "38", - "totalTokens": "113" + "completionTokens": "24", + "totalTokens": "99" } } } @@ -1263,18 +1240,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt39rfjlku1objj3dds", + "id": "fvtgj0rhq5pp80tsl3ej", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt95td7l97h40g0lr2h", + "defaultMessageAuthorId": "fvtp425q4rfvj00rkqvt", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.082656Z", + "createdAt": "2025-07-24T14:26:20.403223Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:44.082656Z", + "updatedAt": "2025-07-24T14:26:20.403223Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:44.082656Z" + "expiresAt": "2025-07-31T14:26:20.403223Z" } } }, @@ -1283,7 +1260,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt39rfjlku1objj3dds", + "threadId": "fvtgj0rhq5pp80tsl3ej", "content": { "content": [ { @@ -1299,12 +1276,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtch0meg4413akom91r", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtjd97ree11mlloc689", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.145982Z", + "createdAt": "2025-07-24T14:26:20.488613Z", "author": { - "id": "fvt95td7l97h40g0lr2h", + "id": "fvtp425q4rfvj00rkqvt", "role": "USER" }, "content": { @@ -1325,19 +1302,19 @@ "cls": "CreateRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvt39rfjlku1objj3dds" + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvtgj0rhq5pp80tsl3ej" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtgt7p237e7n6hhd325", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtdinec1vp2rhe8b27h", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.231489148Z", + "createdAt": "2025-07-24T14:26:20.564256666Z", "state": { "status": "PENDING" } @@ -1349,18 +1326,18 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtgt7p237e7n6hhd325" + "runId": "fvtdinec1vp2rhe8b27h" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtgt7p237e7n6hhd325", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtdinec1vp2rhe8b27h", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.231489148Z", + "createdAt": "2025-07-24T14:26:20.564256666Z", "state": { "status": "PENDING" } @@ -1372,25 +1349,25 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtgt7p237e7n6hhd325" + "runId": "fvtdinec1vp2rhe8b27h" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtgt7p237e7n6hhd325", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtdinec1vp2rhe8b27h", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.231489148Z", + "createdAt": "2025-07-24T14:26:20.564256666Z", "state": { "status": "IN_PROGRESS" }, "usage": { - "promptTokens": "82", + "promptTokens": "83", "completionTokens": "17", - "totalTokens": "99" + "totalTokens": "100" } } } @@ -1400,27 +1377,27 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtgt7p237e7n6hhd325" + "runId": "fvtdinec1vp2rhe8b27h" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtgt7p237e7n6hhd325", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtdinec1vp2rhe8b27h", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.231489148Z", + "createdAt": "2025-07-24T14:26:20.564256666Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvt5u4qk5d8j0taa3ota", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtsuhvn3ppnckijalc9", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.957606069Z", + "createdAt": "2025-07-24T14:26:21.263358924Z", "author": { - "id": "fvtqd4ugujvpmo53oma3", + "id": "fvtu8uop8bp9p7lc7u0i", "role": "ASSISTANT" }, "content": { @@ -1439,17 +1416,17 @@ { "chunk": { "searchIndex": { - "id": "fvtavu9kirfk60bfqo2u", + "id": "fvtpabs6qf144941m9r4", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.422688Z", + "createdAt": "2025-07-24T14:26:08.340581Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:32.765048Z", + "updatedAt": "2025-07-24T14:26:09.547870Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:43.554256Z", + "expiresAt": "2025-07-31T14:26:20.254420Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -1462,18 +1439,18 @@ } }, "sourceFile": { - "id": "fvt0ogmrojgbr5mkuabb", + "id": "fvthq2si8brpvqmmg53s", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.141210Z", + "createdAt": "2025-07-24T14:26:08.131527Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:31.141210Z", + "updatedAt": "2025-07-24T14:26:08.131527Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.484106Z" + "expiresAt": "2025-07-31T14:26:08.371030Z" }, "content": { "content": [ @@ -1492,9 +1469,9 @@ } }, "usage": { - "promptTokens": "201", + "promptTokens": "202", "completionTokens": "25", - "totalTokens": "226" + "totalTokens": "227" } } } @@ -1504,27 +1481,27 @@ "cls": "GetRunRequest", "module": "yandex.cloud.ai.assistants.v1.runs.run_service_pb2", "message": { - "runId": "fvtgt7p237e7n6hhd325" + "runId": "fvtdinec1vp2rhe8b27h" } }, "response": { "cls": "Run", "module": "yandex.cloud.ai.assistants.v1.runs.run_pb2", "message": { - "id": "fvtgt7p237e7n6hhd325", - "assistantId": "fvtqd4ugujvpmo53oma3", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtdinec1vp2rhe8b27h", + "assistantId": "fvtu8uop8bp9p7lc7u0i", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.231489148Z", + "createdAt": "2025-07-24T14:26:20.564256666Z", "state": { "status": "COMPLETED", "completedMessage": { - "id": "fvt5u4qk5d8j0taa3ota", - "threadId": "fvt39rfjlku1objj3dds", + "id": "fvtsuhvn3ppnckijalc9", + "threadId": "fvtgj0rhq5pp80tsl3ej", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:44.957606069Z", + "createdAt": "2025-07-24T14:26:21.263358924Z", "author": { - "id": "fvtqd4ugujvpmo53oma3", + "id": "fvtu8uop8bp9p7lc7u0i", "role": "ASSISTANT" }, "content": { @@ -1543,17 +1520,17 @@ { "chunk": { "searchIndex": { - "id": "fvtavu9kirfk60bfqo2u", + "id": "fvtpabs6qf144941m9r4", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.422688Z", + "createdAt": "2025-07-24T14:26:08.340581Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:32.765048Z", + "updatedAt": "2025-07-24T14:26:09.547870Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:43.554256Z", + "expiresAt": "2025-07-31T14:26:20.254420Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { @@ -1566,18 +1543,18 @@ } }, "sourceFile": { - "id": "fvt0ogmrojgbr5mkuabb", + "id": "fvthq2si8brpvqmmg53s", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-07-17T18:02:31.141210Z", + "createdAt": "2025-07-24T14:26:08.131527Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-07-17T18:02:31.141210Z", + "updatedAt": "2025-07-24T14:26:08.131527Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-07-24T18:02:31.484106Z" + "expiresAt": "2025-07-31T14:26:08.371030Z" }, "content": { "content": [ @@ -1596,9 +1573,9 @@ } }, "usage": { - "promptTokens": "201", + "promptTokens": "202", "completionTokens": "25", - "totalTokens": "226" + "totalTokens": "227" } } } diff --git a/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index.gprc.json index f2d1ffc7..cdd24f09 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index.gprc.json @@ -79,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -99,9 +103,17 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" }, { "id": "cloud-registry", @@ -121,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -167,6 +179,10 @@ "id": "fomo-tuning", "address": "fomo-tuning.api.cloud.yandex.net:443" }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -195,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -251,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -271,17 +295,33 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, { "id": "marketplace-pim", - "address": "mkt.private-api.cloud.yandex.net:4446" + "address": "marketplace.api.cloud.yandex.net:443" }, { "id": "mdb-clickhouse", @@ -307,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -327,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -413,25 +465,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtppj63ddll9e6u7ncj", + "id": "fvtomlog20st9pafn6um", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2024-12-18T15:14:47.538885Z", + "createdAt": "2025-07-24T14:25:25.534771Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2024-12-18T15:14:47.538885Z", + "updatedAt": "2025-07-24T14:25:25.534771Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-12-25T15:14:47.538885Z" + "expiresAt": "2025-07-31T14:25:25.534771Z" } } }, @@ -442,7 +494,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvtppj63ddll9e6u7ncj" + "fvtomlog20st9pafn6um" ], "hybridSearchIndex": { "chunkingStrategy": { @@ -464,11 +516,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtb3tf696qo91f6qavq", + "id": "fvt63kbfd1lnlrlgrrj5", "description": "search index creation", - "createdAt": "2024-12-18T15:14:47.869730Z", + "createdAt": "2025-07-24T14:25:25.671905Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2024-12-18T15:14:47.869730Z" + "modifiedAt": "2025-07-24T14:25:25.671905Z" } } }, @@ -477,18 +529,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtb3tf696qo91f6qavq" + "operationId": "fvt63kbfd1lnlrlgrrj5" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtb3tf696qo91f6qavq", + "id": "fvt63kbfd1lnlrlgrrj5", "description": "search index creation", - "createdAt": "2024-12-18T15:14:47.869730Z", + "createdAt": "2025-07-24T14:25:25.671905Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2024-12-18T15:14:47.869730Z" + "modifiedAt": "2025-07-24T14:25:25.671905Z" } } }, @@ -497,42 +549,45 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtb3tf696qo91f6qavq" + "operationId": "fvt63kbfd1lnlrlgrrj5" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtb3tf696qo91f6qavq", + "id": "fvt63kbfd1lnlrlgrrj5", "description": "search index creation", - "createdAt": "2024-12-18T15:14:47.869730Z", + "createdAt": "2025-07-24T14:25:25.671905Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2024-12-18T15:14:49.925279Z", + "modifiedAt": "2025-07-24T14:25:35.006834Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt2dcunqph3m3sq0lsq", + "id": "fvtubkh8f2d0cpmndjdf", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2024-12-18T15:14:47.802010Z", + "createdAt": "2025-07-24T14:25:25.762325Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2024-12-18T15:14:47.802010Z", + "updatedAt": "2025-07-24T14:25:25.762325Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-12-25T15:14:47.802010Z", + "expiresAt": "2025-07-31T14:25:25.762325Z", "hybridSearchIndex": { - "textSearchIndex": {}, + "textSearchIndex": { + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} + }, "vectorSearchIndex": { "docEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-doc/latest", - "queryEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-query/latest", - "chunkingStrategy": { - "staticStrategy": { - "maxChunkSizeTokens": "700", - "chunkOverlapTokens": "300" - } + "queryEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-query/latest" + }, + "chunkingStrategy": { + "staticStrategy": { + "maxChunkSizeTokens": "700", + "chunkOverlapTokens": "300" } }, "normalizationStrategy": "L2", diff --git a/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index_mean.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index_mean.gprc.json index e4f2d9a6..9af98e5d 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index_mean.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_hybrid_search_index_mean.gprc.json @@ -79,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -175,6 +179,10 @@ "id": "fomo-tuning", "address": "fomo-tuning.api.cloud.yandex.net:443" }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -203,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -287,10 +299,22 @@ "id": "managed-spark", "address": "spark.api.cloud.yandex.net:443" }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" @@ -323,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -437,25 +465,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtsiveapjs7ngk6og8n", + "id": "fvtgaaj2e70qfooli8ne", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-24T18:04:53.968674Z", + "createdAt": "2025-07-24T14:25:36.343929Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-03-24T18:04:53.968674Z", + "updatedAt": "2025-07-24T14:25:36.343929Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-03-31T18:04:53.968674Z" + "expiresAt": "2025-07-31T14:25:36.343929Z" } } }, @@ -466,7 +494,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvtsiveapjs7ngk6og8n" + "fvtgaaj2e70qfooli8ne" ], "hybridSearchIndex": { "chunkingStrategy": { @@ -492,11 +520,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtgq3u4gtvo9idcdnbi", + "id": "fvtmkkcvk2lfnfkef39p", "description": "search index creation", - "createdAt": "2025-03-24T18:04:54.265659Z", + "createdAt": "2025-07-24T14:25:36.487658Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-24T18:04:54.265659Z" + "modifiedAt": "2025-07-24T14:25:36.487658Z" } } }, @@ -505,18 +533,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtgq3u4gtvo9idcdnbi" + "operationId": "fvtmkkcvk2lfnfkef39p" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtgq3u4gtvo9idcdnbi", + "id": "fvtmkkcvk2lfnfkef39p", "description": "search index creation", - "createdAt": "2025-03-24T18:04:54.265659Z", + "createdAt": "2025-07-24T14:25:36.487658Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-24T18:04:54.265659Z" + "modifiedAt": "2025-07-24T14:25:36.487658Z" } } }, @@ -525,38 +553,36 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtgq3u4gtvo9idcdnbi" + "operationId": "fvtmkkcvk2lfnfkef39p" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtgq3u4gtvo9idcdnbi", + "id": "fvtmkkcvk2lfnfkef39p", "description": "search index creation", - "createdAt": "2025-03-24T18:04:54.265659Z", + "createdAt": "2025-07-24T14:25:36.487658Z", "createdBy": "aje6euqn63oa635coh28", - "modifiedAt": "2025-03-24T18:04:56.002362Z", + "modifiedAt": "2025-07-24T14:25:41.952726Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt5p8aeble0l2sd8qmb", + "id": "fvt59o5hjk2617uh5nms", "folderId": "b1ghsjum2v37c2un8h64", "createdBy": "aje6euqn63oa635coh28", - "createdAt": "2025-03-24T18:04:54.324549Z", + "createdAt": "2025-07-24T14:25:36.566107Z", "updatedBy": "aje6euqn63oa635coh28", - "updatedAt": "2025-03-24T18:04:54.324549Z", + "updatedAt": "2025-07-24T14:25:36.566107Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2025-03-31T18:04:54.324549Z", + "expiresAt": "2025-07-31T14:25:36.566107Z", "hybridSearchIndex": { "textSearchIndex": { - "ngramTokenizer": { - "minGram": "3", - "maxGram": "4" - } + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} }, "vectorSearchIndex": { "docEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-doc/latest", diff --git a/tests/assistants/cassettes/test_search_indexes/test_search_index.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_search_index.gprc.json index 9659664e..023becfc 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_search_index.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_search_index.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -389,25 +465,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvt42bkvkv8p8blq6kod", + "id": "fvtvt121u79p7ilcdqfi", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:34.569100Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:34.569100Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:47.737387Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:47.737387Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:34.569100Z" + "expiresAt": "2025-07-31T14:22:47.737387Z" } } }, @@ -418,7 +494,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvt42bkvkv8p8blq6kod" + "fvtvt121u79p7ilcdqfi" ] } }, @@ -426,11 +502,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtrl0rd50u7b0plskht", + "id": "fvtu9ck7idpr0m0i0olm", "description": "search index creation", - "createdAt": "2024-10-30T17:28:34.713711Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:28:34.713711Z" + "createdAt": "2025-07-24T14:22:47.949990Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:22:47.949990Z" } } }, @@ -439,18 +515,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtrl0rd50u7b0plskht" + "operationId": "fvtu9ck7idpr0m0i0olm" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtrl0rd50u7b0plskht", + "id": "fvtu9ck7idpr0m0i0olm", "description": "search index creation", - "createdAt": "2024-10-30T17:28:34.713711Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:28:34.713711Z" + "createdAt": "2025-07-24T14:22:47.949990Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:22:47.949990Z" } } }, @@ -459,39 +535,41 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtrl0rd50u7b0plskht" + "operationId": "fvtu9ck7idpr0m0i0olm" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtrl0rd50u7b0plskht", + "id": "fvtu9ck7idpr0m0i0olm", "description": "search index creation", - "createdAt": "2024-10-30T17:28:34.713711Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:28:35.370730Z", + "createdAt": "2025-07-24T14:22:47.949990Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:22:49.015821Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtbtobvouuiv6gk9m44", + "id": "fvt3redua6u37cp1d1j4", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:34.703122Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:34.703122Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:48.031927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:48.031927Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:34.703122Z", + "expiresAt": "2025-07-31T14:22:48.031927Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -502,31 +580,33 @@ "cls": "GetSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtbtobvouuiv6gk9m44" + "searchIndexId": "fvt3redua6u37cp1d1j4" } }, "response": { "cls": "SearchIndex", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2", "message": { - "id": "fvtbtobvouuiv6gk9m44", + "id": "fvt3redua6u37cp1d1j4", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:34.703122Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:34.703122Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:48.031927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:49.009477Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:34.703122Z", + "expiresAt": "2025-07-31T14:22:48.031927Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -538,7 +618,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvt42bkvkv8p8blq6kod" + "fvtvt121u79p7ilcdqfi" ], "vectorSearchIndex": {} } @@ -547,11 +627,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt1lkkhc04dbb392hil", + "id": "fvt6r6nor700ujd5gtff", "description": "search index creation", - "createdAt": "2024-10-30T17:28:44.988867Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:28:44.988867Z" + "createdAt": "2025-07-24T14:22:58.152281Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:22:58.152281Z" } } }, @@ -560,18 +640,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt1lkkhc04dbb392hil" + "operationId": "fvt6r6nor700ujd5gtff" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt1lkkhc04dbb392hil", + "id": "fvt6r6nor700ujd5gtff", "description": "search index creation", - "createdAt": "2024-10-30T17:28:44.988867Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:28:44.988867Z" + "createdAt": "2025-07-24T14:22:58.152281Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:22:58.152281Z" } } }, @@ -580,32 +660,32 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt1lkkhc04dbb392hil" + "operationId": "fvt6r6nor700ujd5gtff" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt1lkkhc04dbb392hil", + "id": "fvt6r6nor700ujd5gtff", "description": "search index creation", - "createdAt": "2024-10-30T17:28:44.988867Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:28:46.308402Z", + "createdAt": "2025-07-24T14:22:58.152281Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:02.652862Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt7gc2p6c81lcdicdka", + "id": "fvtee47hpjnegjvdh3l6", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:44.978882Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:44.978882Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:58.234636Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:22:58.234636Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:44.978882Z", + "expiresAt": "2025-07-31T14:22:58.234636Z", "vectorSearchIndex": { "docEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-doc/latest", "queryEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-query/latest", @@ -625,7 +705,7 @@ "cls": "UpdateSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtbtobvouuiv6gk9m44", + "searchIndexId": "fvt3redua6u37cp1d1j4", "updateMask": "name", "name": "name" } @@ -634,25 +714,27 @@ "cls": "SearchIndex", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2", "message": { - "id": "fvtbtobvouuiv6gk9m44", + "id": "fvt3redua6u37cp1d1j4", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:34.703122Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:55.205825Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:48.031927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:08.313132Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:34.703122Z", + "expiresAt": "2025-07-31T14:22:48.031927Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -662,7 +744,7 @@ "cls": "UpdateSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtbtobvouuiv6gk9m44", + "searchIndexId": "fvt3redua6u37cp1d1j4", "updateMask": "description", "description": "description" } @@ -671,26 +753,28 @@ "cls": "SearchIndex", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2", "message": { - "id": "fvtbtobvouuiv6gk9m44", + "id": "fvt3redua6u37cp1d1j4", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", "description": "description", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:34.703122Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:55.276859Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:48.031927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:08.353492Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:34.703122Z", + "expiresAt": "2025-07-31T14:22:48.031927Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -700,7 +784,7 @@ "cls": "UpdateSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtbtobvouuiv6gk9m44", + "searchIndexId": "fvt3redua6u37cp1d1j4", "updateMask": "labels", "labels": { "foo": "bar" @@ -711,19 +795,19 @@ "cls": "SearchIndex", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_pb2", "message": { - "id": "fvtbtobvouuiv6gk9m44", + "id": "fvt3redua6u37cp1d1j4", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", "description": "description", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:34.703122Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:55.310433Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:48.031927Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:08.386861Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:34.703122Z", + "expiresAt": "2025-07-31T14:22:48.031927Z", "labels": { "foo": "bar" }, @@ -733,7 +817,9 @@ "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -743,7 +829,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvt42bkvkv8p8blq6kod" + "fileId": "fvtvt121u79p7ilcdqfi" } }, "response": { @@ -757,7 +843,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtbtobvouuiv6gk9m44" + "searchIndexId": "fvt3redua6u37cp1d1j4" } }, "response": { diff --git a/tests/assistants/cassettes/test_search_indexes/test_search_index_deleted.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_search_index_deleted.gprc.json index 1e02d053..1b455a5d 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_search_index_deleted.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_search_index_deleted.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -389,25 +465,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvtpl0la8ksufgp00ncv", + "id": "fvt10f5nenjb2d8r8qn0", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:31:25.377866Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:31:25.377866Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:08.594236Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:08.594236Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:31:25.377866Z" + "expiresAt": "2025-07-31T14:23:08.594236Z" } } }, @@ -418,7 +494,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvtpl0la8ksufgp00ncv" + "fvt10f5nenjb2d8r8qn0" ] } }, @@ -426,11 +502,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtkaq2tfmdaj4bfm89p", + "id": "fvtcjubs8fogdm86acc9", "description": "search index creation", - "createdAt": "2024-10-30T17:31:25.570374Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:31:25.570374Z" + "createdAt": "2025-07-24T14:23:08.727496Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:08.727496Z" } } }, @@ -439,18 +515,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtkaq2tfmdaj4bfm89p" + "operationId": "fvtcjubs8fogdm86acc9" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtkaq2tfmdaj4bfm89p", + "id": "fvtcjubs8fogdm86acc9", "description": "search index creation", - "createdAt": "2024-10-30T17:31:25.570374Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:31:25.570374Z" + "createdAt": "2025-07-24T14:23:08.727496Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:08.727496Z" } } }, @@ -459,39 +535,41 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtkaq2tfmdaj4bfm89p" + "operationId": "fvtcjubs8fogdm86acc9" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtkaq2tfmdaj4bfm89p", + "id": "fvtcjubs8fogdm86acc9", "description": "search index creation", - "createdAt": "2024-10-30T17:31:25.570374Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:31:26.194516Z", + "createdAt": "2025-07-24T14:23:08.727496Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:09.901208Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtsojk01g818kngobfq", + "id": "fvtrt8i56sbnbfib4ti6", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:31:25.541672Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:31:25.541672Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:08.826936Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:08.826936Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:31:25.541672Z", + "expiresAt": "2025-07-31T14:23:08.826936Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -502,7 +580,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtsojk01g818kngobfq" + "searchIndexId": "fvtrt8i56sbnbfib4ti6" } }, "response": { @@ -516,7 +594,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvtpl0la8ksufgp00ncv" + "fileId": "fvt10f5nenjb2d8r8qn0" } }, "response": { diff --git a/tests/assistants/cassettes/test_search_indexes/test_search_index_list.gprc.json b/tests/assistants/cassettes/test_search_indexes/test_search_index_list.gprc.json index cc52e16f..144ab786 100644 --- a/tests/assistants/cassettes/test_search_indexes/test_search_index_list.gprc.json +++ b/tests/assistants/cassettes/test_search_indexes/test_search_index_list.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -389,25 +465,25 @@ "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "content": "dGVzdCBmaWxl" + "content": "c2VjcmV0IG51bWJlciBpcyA5OTc=" } }, "response": { "cls": "File", "module": "yandex.cloud.ai.files.v1.file_pb2", "message": { - "id": "fvte7h3e4u5bo3tkk7t0", + "id": "fvt8tcq0uv7agskdvnar", "folderId": "b1ghsjum2v37c2un8h64", "mimeType": "text/plain", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:06.361039Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:06.361039Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:19.131916Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:19.131916Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:06.361039Z" + "expiresAt": "2025-07-31T14:23:19.131916Z" } } }, @@ -418,7 +494,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ] } }, @@ -426,11 +502,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt2pt8rv5igf3sghivk", + "id": "fvt28pt2rribsjtsum89", "description": "search index creation", - "createdAt": "2024-10-30T17:29:06.534181Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:06.534181Z" + "createdAt": "2025-07-24T14:23:19.309803Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:19.309803Z" } } }, @@ -439,18 +515,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt2pt8rv5igf3sghivk" + "operationId": "fvt28pt2rribsjtsum89" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt2pt8rv5igf3sghivk", + "id": "fvt28pt2rribsjtsum89", "description": "search index creation", - "createdAt": "2024-10-30T17:29:06.534181Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:06.534181Z" + "createdAt": "2025-07-24T14:23:19.309803Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:19.309803Z" } } }, @@ -459,39 +535,41 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt2pt8rv5igf3sghivk" + "operationId": "fvt28pt2rribsjtsum89" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt2pt8rv5igf3sghivk", + "id": "fvt28pt2rribsjtsum89", "description": "search index creation", - "createdAt": "2024-10-30T17:29:06.534181Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:07.121050Z", + "createdAt": "2025-07-24T14:23:19.309803Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:20.607896Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtvi63l544pcehvaite", + "id": "fvtcbdrue72o2e7hmenu", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:06.523856Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:06.523856Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:19.409493Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:19.409493Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:06.523856Z", + "expiresAt": "2025-07-31T14:23:19.409493Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -504,7 +582,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s0" } @@ -513,11 +591,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt1vcgcemj72qs1qrqj", + "id": "fvt0ghtmetuvthh0ru9k", "description": "search index creation", - "createdAt": "2024-10-30T17:29:16.713011Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:16.713011Z" + "createdAt": "2025-07-24T14:23:29.507931Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:29.507931Z" } } }, @@ -526,18 +604,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt1vcgcemj72qs1qrqj" + "operationId": "fvt0ghtmetuvthh0ru9k" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt1vcgcemj72qs1qrqj", + "id": "fvt0ghtmetuvthh0ru9k", "description": "search index creation", - "createdAt": "2024-10-30T17:29:16.713011Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:16.713011Z" + "createdAt": "2025-07-24T14:23:29.507931Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:29.507931Z" } } }, @@ -546,40 +624,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt1vcgcemj72qs1qrqj" + "operationId": "fvt0ghtmetuvthh0ru9k" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt1vcgcemj72qs1qrqj", + "id": "fvt0ghtmetuvthh0ru9k", "description": "search index creation", - "createdAt": "2024-10-30T17:29:16.713011Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:17.240869Z", + "createdAt": "2025-07-24T14:23:29.507931Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:31.559014Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtj41mj8uu02tvvh1i5", + "id": "fvtgef8mn2fbkgn6s7bq", "folderId": "b1ghsjum2v37c2un8h64", "name": "s0", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:16.701222Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:16.701222Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:29.576762Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:29.576762Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:16.701222Z", + "expiresAt": "2025-07-31T14:23:29.576762Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -592,7 +672,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s1" } @@ -601,11 +681,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtmmavlk4tddri6rojk", + "id": "fvtvj7j4tmh4femuotlc", "description": "search index creation", - "createdAt": "2024-10-30T17:29:26.905105Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:26.905105Z" + "createdAt": "2025-07-24T14:23:39.709657Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:39.709657Z" } } }, @@ -614,18 +694,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtmmavlk4tddri6rojk" + "operationId": "fvtvj7j4tmh4femuotlc" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtmmavlk4tddri6rojk", + "id": "fvtvj7j4tmh4femuotlc", "description": "search index creation", - "createdAt": "2024-10-30T17:29:26.905105Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:26.905105Z" + "createdAt": "2025-07-24T14:23:39.709657Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:39.709657Z" } } }, @@ -634,40 +714,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtmmavlk4tddri6rojk" + "operationId": "fvtvj7j4tmh4femuotlc" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtmmavlk4tddri6rojk", + "id": "fvtvj7j4tmh4femuotlc", "description": "search index creation", - "createdAt": "2024-10-30T17:29:26.905105Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:27.268515Z", + "createdAt": "2025-07-24T14:23:39.709657Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:40.839865Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtmed4eflqf36igsub6", + "id": "fvtgu7ad8ps9n4hhpdsu", "folderId": "b1ghsjum2v37c2un8h64", "name": "s1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:26.895233Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:26.895233Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:39.746640Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:39.746640Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:26.895233Z", + "expiresAt": "2025-07-31T14:23:39.746640Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -680,7 +762,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s2" } @@ -689,11 +771,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtjr1u5rco3akehju45", + "id": "fvtpa5kj8l8hpa46t00d", "description": "search index creation", - "createdAt": "2024-10-30T17:29:37.075022Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:37.075022Z" + "createdAt": "2025-07-24T14:23:49.893973Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:49.893973Z" } } }, @@ -702,18 +784,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtjr1u5rco3akehju45" + "operationId": "fvtpa5kj8l8hpa46t00d" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtjr1u5rco3akehju45", + "id": "fvtpa5kj8l8hpa46t00d", "description": "search index creation", - "createdAt": "2024-10-30T17:29:37.075022Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:37.075022Z" + "createdAt": "2025-07-24T14:23:49.893973Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:49.893973Z" } } }, @@ -722,40 +804,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtjr1u5rco3akehju45" + "operationId": "fvtpa5kj8l8hpa46t00d" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtjr1u5rco3akehju45", + "id": "fvtpa5kj8l8hpa46t00d", "description": "search index creation", - "createdAt": "2024-10-30T17:29:37.075022Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:37.527901Z", + "createdAt": "2025-07-24T14:23:49.893973Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:23:51.314218Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt7tulbln91gtl3nk9b", + "id": "fvtsrmbsf57d6r96vp47", "folderId": "b1ghsjum2v37c2un8h64", "name": "s2", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:37.063620Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:37.063620Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:49.943063Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:49.943063Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:37.063620Z", + "expiresAt": "2025-07-31T14:23:49.943063Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -768,7 +852,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s3" } @@ -777,11 +861,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt0c1ljk97n2ge0435d", + "id": "fvtmojg1esomqaaspuij", "description": "search index creation", - "createdAt": "2024-10-30T17:29:47.222949Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:47.222949Z" + "createdAt": "2025-07-24T14:24:00.072292Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:00.072292Z" } } }, @@ -790,18 +874,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt0c1ljk97n2ge0435d" + "operationId": "fvtmojg1esomqaaspuij" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt0c1ljk97n2ge0435d", + "id": "fvtmojg1esomqaaspuij", "description": "search index creation", - "createdAt": "2024-10-30T17:29:47.222949Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:47.222949Z" + "createdAt": "2025-07-24T14:24:00.072292Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:00.072292Z" } } }, @@ -810,40 +894,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvt0c1ljk97n2ge0435d" + "operationId": "fvtmojg1esomqaaspuij" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvt0c1ljk97n2ge0435d", + "id": "fvtmojg1esomqaaspuij", "description": "search index creation", - "createdAt": "2024-10-30T17:29:47.222949Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:47.831505Z", + "createdAt": "2025-07-24T14:24:00.072292Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:02.480574Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtephv9opbcsh1b54qf", + "id": "fvtcld32uj90vvqrhmn2", "folderId": "b1ghsjum2v37c2un8h64", "name": "s3", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:47.193797Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:47.193797Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:00.122883Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:00.122883Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:47.193797Z", + "expiresAt": "2025-07-31T14:24:00.122883Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -856,7 +942,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s4" } @@ -865,11 +951,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtd96bkmkhbl37knuer", + "id": "fvtapp8oi1khcguctcma", "description": "search index creation", - "createdAt": "2024-10-30T17:29:57.421158Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:57.421158Z" + "createdAt": "2025-07-24T14:24:10.463041Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:10.463041Z" } } }, @@ -878,18 +964,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtd96bkmkhbl37knuer" + "operationId": "fvtapp8oi1khcguctcma" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtd96bkmkhbl37knuer", + "id": "fvtapp8oi1khcguctcma", "description": "search index creation", - "createdAt": "2024-10-30T17:29:57.421158Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:57.421158Z" + "createdAt": "2025-07-24T14:24:10.463041Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:10.463041Z" } } }, @@ -898,40 +984,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtd96bkmkhbl37knuer" + "operationId": "fvtapp8oi1khcguctcma" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtd96bkmkhbl37knuer", + "id": "fvtapp8oi1khcguctcma", "description": "search index creation", - "createdAt": "2024-10-30T17:29:57.421158Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:29:58.243796Z", + "createdAt": "2025-07-24T14:24:10.463041Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:11.661893Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt52cpch12sj7t36902", + "id": "fvturcd572t9d6cag4le", "folderId": "b1ghsjum2v37c2un8h64", "name": "s4", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:57.369565Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:57.369565Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:10.509007Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:10.509007Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:57.369565Z", + "expiresAt": "2025-07-31T14:24:10.509007Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -944,7 +1032,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s5" } @@ -953,11 +1041,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtemrmep2pbpbvejnhe", + "id": "fvtljob8ta10rr3s4fg3", "description": "search index creation", - "createdAt": "2024-10-30T17:30:07.585510Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:07.585510Z" + "createdAt": "2025-07-24T14:24:20.667839Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:20.667839Z" } } }, @@ -966,18 +1054,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtemrmep2pbpbvejnhe" + "operationId": "fvtljob8ta10rr3s4fg3" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtemrmep2pbpbvejnhe", + "id": "fvtljob8ta10rr3s4fg3", "description": "search index creation", - "createdAt": "2024-10-30T17:30:07.585510Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:07.585510Z" + "createdAt": "2025-07-24T14:24:20.667839Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:20.667839Z" } } }, @@ -986,40 +1074,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtemrmep2pbpbvejnhe" + "operationId": "fvtljob8ta10rr3s4fg3" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtemrmep2pbpbvejnhe", + "id": "fvtljob8ta10rr3s4fg3", "description": "search index creation", - "createdAt": "2024-10-30T17:30:07.585510Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:08.103364Z", + "createdAt": "2025-07-24T14:24:20.667839Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:21.601784Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvti1jm94iontbaqea46", + "id": "fvtq4r62phks0bkrut0k", "folderId": "b1ghsjum2v37c2un8h64", "name": "s5", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:07.574545Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:07.574545Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:20.749332Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:20.749332Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:07.574545Z", + "expiresAt": "2025-07-31T14:24:20.749332Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -1032,7 +1122,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s6" } @@ -1041,11 +1131,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtcsgocft7f6avdqbj2", + "id": "fvto3t0bg7hb1r8plgan", "description": "search index creation", - "createdAt": "2024-10-30T17:30:17.746958Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:17.746958Z" + "createdAt": "2025-07-24T14:24:30.840033Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:30.840033Z" } } }, @@ -1054,18 +1144,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtcsgocft7f6avdqbj2" + "operationId": "fvto3t0bg7hb1r8plgan" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtcsgocft7f6avdqbj2", + "id": "fvto3t0bg7hb1r8plgan", "description": "search index creation", - "createdAt": "2024-10-30T17:30:17.746958Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:17.746958Z" + "createdAt": "2025-07-24T14:24:30.840033Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:30.840033Z" } } }, @@ -1074,40 +1164,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtcsgocft7f6avdqbj2" + "operationId": "fvto3t0bg7hb1r8plgan" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtcsgocft7f6avdqbj2", + "id": "fvto3t0bg7hb1r8plgan", "description": "search index creation", - "createdAt": "2024-10-30T17:30:17.746958Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:18.192046Z", + "createdAt": "2025-07-24T14:24:30.840033Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:32.621338Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt86tvb9p3ln5oblhkv", + "id": "fvt3d1pl91045g7lgv2f", "folderId": "b1ghsjum2v37c2un8h64", "name": "s6", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:17.717751Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:17.717751Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:30.902086Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:30.902086Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:17.717751Z", + "expiresAt": "2025-07-31T14:24:30.902086Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -1120,7 +1212,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s7" } @@ -1129,11 +1221,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtkgl9nr273t4f283qo", + "id": "fvtn0jlf8p40euv6e6ji", "description": "search index creation", - "createdAt": "2024-10-30T17:30:27.929926Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:27.929926Z" + "createdAt": "2025-07-24T14:24:41.034917Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:41.034917Z" } } }, @@ -1142,18 +1234,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtkgl9nr273t4f283qo" + "operationId": "fvtn0jlf8p40euv6e6ji" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtkgl9nr273t4f283qo", + "id": "fvtn0jlf8p40euv6e6ji", "description": "search index creation", - "createdAt": "2024-10-30T17:30:27.929926Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:27.929926Z" + "createdAt": "2025-07-24T14:24:41.034917Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:41.034917Z" } } }, @@ -1162,40 +1254,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtkgl9nr273t4f283qo" + "operationId": "fvtn0jlf8p40euv6e6ji" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtkgl9nr273t4f283qo", + "id": "fvtn0jlf8p40euv6e6ji", "description": "search index creation", - "createdAt": "2024-10-30T17:30:27.929926Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:28.537471Z", + "createdAt": "2025-07-24T14:24:41.034917Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:41.957292Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt4i7qqpns501o0p5fh", + "id": "fvtcu0nl5iai3ddnt3kh", "folderId": "b1ghsjum2v37c2un8h64", "name": "s7", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:27.918772Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:27.918772Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:41.074476Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:41.074476Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:27.918772Z", + "expiresAt": "2025-07-31T14:24:41.074476Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -1208,7 +1302,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s8" } @@ -1217,11 +1311,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvth4obk2nkel54o9k9d", + "id": "fvta1ts514sbf443aheu", "description": "search index creation", - "createdAt": "2024-10-30T17:30:38.076416Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:38.076416Z" + "createdAt": "2025-07-24T14:24:51.235188Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:51.235188Z" } } }, @@ -1230,18 +1324,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvth4obk2nkel54o9k9d" + "operationId": "fvta1ts514sbf443aheu" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvth4obk2nkel54o9k9d", + "id": "fvta1ts514sbf443aheu", "description": "search index creation", - "createdAt": "2024-10-30T17:30:38.076416Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:38.076416Z" + "createdAt": "2025-07-24T14:24:51.235188Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:51.235188Z" } } }, @@ -1250,40 +1344,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvth4obk2nkel54o9k9d" + "operationId": "fvta1ts514sbf443aheu" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvth4obk2nkel54o9k9d", + "id": "fvta1ts514sbf443aheu", "description": "search index creation", - "createdAt": "2024-10-30T17:30:38.076416Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:38.469324Z", + "createdAt": "2025-07-24T14:24:51.235188Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:24:52.487502Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvtr06ep4309t8di2i5b", + "id": "fvtt3gls19aslhoj9ns0", "folderId": "b1ghsjum2v37c2un8h64", "name": "s8", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:38.065293Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:38.065293Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:51.304316Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:51.304316Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:38.065293Z", + "expiresAt": "2025-07-31T14:24:51.304316Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -1296,7 +1392,7 @@ "message": { "folderId": "b1ghsjum2v37c2un8h64", "fileIds": [ - "fvte7h3e4u5bo3tkk7t0" + "fvt8tcq0uv7agskdvnar" ], "name": "s9" } @@ -1305,11 +1401,11 @@ "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtrko49u7rre0npk0l2", + "id": "fvt1uvrd5k2h3q45l04f", "description": "search index creation", - "createdAt": "2024-10-30T17:30:48.282103Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:48.282103Z" + "createdAt": "2025-07-24T14:25:01.501026Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:25:01.501026Z" } } }, @@ -1318,18 +1414,18 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtrko49u7rre0npk0l2" + "operationId": "fvt1uvrd5k2h3q45l04f" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtrko49u7rre0npk0l2", + "id": "fvt1uvrd5k2h3q45l04f", "description": "search index creation", - "createdAt": "2024-10-30T17:30:48.282103Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:48.282103Z" + "createdAt": "2025-07-24T14:25:01.501026Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:25:01.501026Z" } } }, @@ -1338,40 +1434,42 @@ "cls": "GetOperationRequest", "module": "yandex.cloud.operation.operation_service_pb2", "message": { - "operationId": "fvtrko49u7rre0npk0l2" + "operationId": "fvt1uvrd5k2h3q45l04f" } }, "response": { "cls": "Operation", "module": "yandex.cloud.operation.operation_pb2", "message": { - "id": "fvtrko49u7rre0npk0l2", + "id": "fvt1uvrd5k2h3q45l04f", "description": "search index creation", - "createdAt": "2024-10-30T17:30:48.282103Z", - "createdBy": "ajek27c96hekgf8f8016", - "modifiedAt": "2024-10-30T17:30:48.769330Z", + "createdAt": "2025-07-24T14:25:01.501026Z", + "createdBy": "aje6euqn63oa635coh28", + "modifiedAt": "2025-07-24T14:25:03.849674Z", "done": true, "response": { "@type": "type.googleapis.com/yandex.cloud.ai.assistants.v1.searchindex.SearchIndex", - "id": "fvt32gj2cva31ochdfjf", + "id": "fvtban8u09jqr5jdg6rp", "folderId": "b1ghsjum2v37c2un8h64", "name": "s9", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:48.230545Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:48.230545Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:25:01.567297Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:25:01.567297Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:48.230545Z", + "expiresAt": "2025-07-31T14:25:01.567297Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } } @@ -1391,258 +1489,280 @@ "message": { "indices": [ { - "id": "fvt32gj2cva31ochdfjf", + "id": "fvtban8u09jqr5jdg6rp", "folderId": "b1ghsjum2v37c2un8h64", "name": "s9", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:48.230545Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:48.230545Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:25:01.567297Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:25:03.843130Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:48.230545Z", + "expiresAt": "2025-07-31T14:25:01.567297Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtr06ep4309t8di2i5b", + "id": "fvtt3gls19aslhoj9ns0", "folderId": "b1ghsjum2v37c2un8h64", "name": "s8", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:38.065293Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:38.065293Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:51.304316Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:52.486029Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:38.065293Z", + "expiresAt": "2025-07-31T14:24:51.304316Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt4i7qqpns501o0p5fh", + "id": "fvtcu0nl5iai3ddnt3kh", "folderId": "b1ghsjum2v37c2un8h64", "name": "s7", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:27.918772Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:27.918772Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:41.074476Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:41.955834Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:27.918772Z", + "expiresAt": "2025-07-31T14:24:41.074476Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt86tvb9p3ln5oblhkv", + "id": "fvt3d1pl91045g7lgv2f", "folderId": "b1ghsjum2v37c2un8h64", "name": "s6", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:17.717751Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:17.717751Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:30.902086Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:32.609910Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:17.717751Z", + "expiresAt": "2025-07-31T14:24:30.902086Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvti1jm94iontbaqea46", + "id": "fvtq4r62phks0bkrut0k", "folderId": "b1ghsjum2v37c2un8h64", "name": "s5", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:30:07.574545Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:30:07.574545Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:20.749332Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:21.600120Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:30:07.574545Z", + "expiresAt": "2025-07-31T14:24:20.749332Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt52cpch12sj7t36902", + "id": "fvturcd572t9d6cag4le", "folderId": "b1ghsjum2v37c2un8h64", "name": "s4", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:57.369565Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:57.369565Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:10.509007Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:11.660344Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:57.369565Z", + "expiresAt": "2025-07-31T14:24:10.509007Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtephv9opbcsh1b54qf", + "id": "fvtcld32uj90vvqrhmn2", "folderId": "b1ghsjum2v37c2un8h64", "name": "s3", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:47.193797Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:47.193797Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:24:00.122883Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:24:02.478778Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:47.193797Z", + "expiresAt": "2025-07-31T14:24:00.122883Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt7tulbln91gtl3nk9b", + "id": "fvtsrmbsf57d6r96vp47", "folderId": "b1ghsjum2v37c2un8h64", "name": "s2", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:37.063620Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:37.063620Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:49.943063Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:51.303019Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:37.063620Z", + "expiresAt": "2025-07-31T14:23:49.943063Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtmed4eflqf36igsub6", + "id": "fvtgu7ad8ps9n4hhpdsu", "folderId": "b1ghsjum2v37c2un8h64", "name": "s1", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:26.895233Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:26.895233Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:39.746640Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:40.838285Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:26.895233Z", + "expiresAt": "2025-07-31T14:23:39.746640Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtj41mj8uu02tvvh1i5", + "id": "fvtgef8mn2fbkgn6s7bq", "folderId": "b1ghsjum2v37c2un8h64", "name": "s0", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:16.701222Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:16.701222Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:29.576762Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:31.557091Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:16.701222Z", + "expiresAt": "2025-07-31T14:23:29.576762Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtvi63l544pcehvaite", + "id": "fvtcbdrue72o2e7hmenu", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:29:06.523856Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:29:06.523856Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:23:19.409493Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:20.596416Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:29:06.523856Z", + "expiresAt": "2025-07-31T14:23:19.409493Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt7gc2p6c81lcdicdka", + "id": "fvtee47hpjnegjvdh3l6", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:28:44.978882Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:28:44.978882Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:22:58.234636Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:23:02.646015Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:28:44.978882Z", + "expiresAt": "2025-07-31T14:22:58.234636Z", "vectorSearchIndex": { "docEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-doc/latest", "queryEmbedderUri": "emb://yc.ml.rag-prod.common/text-search-query/latest", @@ -1655,175 +1775,263 @@ } }, { - "id": "fvtskqvcjcsu3jb53qh5", + "id": "fvtavu9kirfk60bfqo2u", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:25:49.365095Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:25:49.365095Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T18:02:31.422688Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T18:02:32.765048Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:25:49.365095Z", + "expiresAt": "2025-07-24T18:02:44.961362Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt3lcbmvsabos61cdh4", + "id": "fvtn4o6eephvofll92r0", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:24:37.913321Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:24:37.913321Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:59:37.505899Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:59:38.331690Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:24:37.913321Z", + "expiresAt": "2025-07-24T17:59:53.131540Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtagnpene84ri1gko74", + "id": "fvtpfbin13t2q7mp7t69", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:24:37.414805Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:24:37.414805Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:58:57.370667Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:58:58.545017Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:24:37.414805Z", + "expiresAt": "2025-07-24T17:59:10.724754Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt4glg110v81phvnn9l", + "id": "fvtvqil726sk6ofjd567", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T17:24:36.679743Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T17:24:36.679743Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:57:47.646328Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:57:48.692790Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T17:24:36.679743Z", + "expiresAt": "2025-07-24T17:58:01.161257Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { "maxChunkSizeTokens": "800", "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtv5q8tf9rrcqjruqk6", + "id": "fvthduki99mcidfiaina", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T15:50:06.183955Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T15:50:06.183955Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:53:16.457336Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:53:18.404562Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T15:50:06.183955Z", + "expiresAt": "2025-07-24T17:53:29.643906Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { - "maxChunkSizeTokens": "700", - "chunkOverlapTokens": "300" + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtst4r1foav6uh2bl2n", + "id": "fvtjvoq7b6ad3gpg8sps", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T15:47:39.580262Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T15:47:39.580262Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:52:25.543612Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:52:26.558323Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T15:47:39.580262Z", + "expiresAt": "2025-07-24T17:52:39.079588Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { - "maxChunkSizeTokens": "700", - "chunkOverlapTokens": "300" + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} + } + }, + { + "id": "fvtskcp5rkckcl6msoug", + "folderId": "b1ghsjum2v37c2un8h64", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:51:25.425980Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:51:26.632417Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:51:38.114259Z", + "textSearchIndex": { + "chunkingStrategy": { + "staticStrategy": { + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" + } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvt9gqo4i706qen6abp4", + "id": "fvtq36e1s32vqrk6kg48", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T15:45:16.052930Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T15:45:16.052930Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:49:37.634819Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:49:38.759303Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T15:45:16.052930Z", + "expiresAt": "2025-07-24T17:49:55.807082Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { - "maxChunkSizeTokens": "700", - "chunkOverlapTokens": "300" + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } }, { - "id": "fvtjsiq2svr08htf8bcj", + "id": "fvtciak4to4siajfr040", "folderId": "b1ghsjum2v37c2un8h64", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-30T15:43:52.281311Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-30T15:43:52.281311Z", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:48:56.859464Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:48:57.809001Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-11-06T15:43:52.281311Z", + "expiresAt": "2025-07-24T17:49:11.955465Z", "textSearchIndex": { "chunkingStrategy": { "staticStrategy": { - "maxChunkSizeTokens": "700", - "chunkOverlapTokens": "300" + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" } - } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} + } + }, + { + "id": "fvt3sq4fnv7njgaqos85", + "folderId": "b1ghsjum2v37c2un8h64", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T17:48:32.797144Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T17:48:34.625349Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:48:43.736Z", + "textSearchIndex": { + "chunkingStrategy": { + "staticStrategy": { + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" + } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} + } + }, + { + "id": "fvto0neer9nlevsrqtia", + "folderId": "b1ghsjum2v37c2un8h64", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-17T16:42:55.737727Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-17T16:42:56.702173Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-24T17:42:37.116596Z", + "labels": { + "yc-ml-sdk-example": "example-assistants-search_index_call_strategy.py" + }, + "textSearchIndex": { + "chunkingStrategy": { + "staticStrategy": { + "maxChunkSizeTokens": "800", + "chunkOverlapTokens": "400" + } + }, + "standardTokenizer": {}, + "yandexLemmerAnalyzer": {} } } ], - "nextPageToken": "MjAyNC0xMC0zMFQxNTo0Mzo1Mi4yODEzMTFAZnZ0anNpcTJzdnIwOGh0ZjhiY2o=" + "nextPageToken": "MjAyNS0wNy0xN1QxNjo0Mjo1NS43Mzc3MjdAZnZ0bzBuZWVyOW5sZXZzcnF0aWE=" } } }, @@ -1833,7 +2041,7 @@ "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "pageToken": "MjAyNC0xMC0zMFQxNTo0Mzo1Mi4yODEzMTFAZnZ0anNpcTJzdnIwOGh0ZjhiY2o=" + "pageToken": "MjAyNS0wNy0xN1QxNjo0Mjo1NS43Mzc3MjdAZnZ0bzBuZWVyOW5sZXZzcnF0aWE=" } }, "response": { @@ -1847,7 +2055,49 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt32gj2cva31ochdfjf" + "searchIndexId": "fvtban8u09jqr5jdg6rp" + } + }, + "response": { + "cls": "DeleteSearchIndexResponse", + "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteSearchIndexRequest", + "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", + "message": { + "searchIndexId": "fvtt3gls19aslhoj9ns0" + } + }, + "response": { + "cls": "DeleteSearchIndexResponse", + "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteSearchIndexRequest", + "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", + "message": { + "searchIndexId": "fvtcu0nl5iai3ddnt3kh" + } + }, + "response": { + "cls": "DeleteSearchIndexResponse", + "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteSearchIndexRequest", + "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", + "message": { + "searchIndexId": "fvt3d1pl91045g7lgv2f" } }, "response": { @@ -1861,7 +2111,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtr06ep4309t8di2i5b" + "searchIndexId": "fvtq4r62phks0bkrut0k" } }, "response": { @@ -1875,7 +2125,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt4i7qqpns501o0p5fh" + "searchIndexId": "fvturcd572t9d6cag4le" } }, "response": { @@ -1889,7 +2139,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt86tvb9p3ln5oblhkv" + "searchIndexId": "fvtcld32uj90vvqrhmn2" } }, "response": { @@ -1903,7 +2153,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvti1jm94iontbaqea46" + "searchIndexId": "fvtsrmbsf57d6r96vp47" } }, "response": { @@ -1917,7 +2167,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt52cpch12sj7t36902" + "searchIndexId": "fvtgu7ad8ps9n4hhpdsu" } }, "response": { @@ -1931,7 +2181,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtephv9opbcsh1b54qf" + "searchIndexId": "fvtgef8mn2fbkgn6s7bq" } }, "response": { @@ -1945,7 +2195,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt7tulbln91gtl3nk9b" + "searchIndexId": "fvtcbdrue72o2e7hmenu" } }, "response": { @@ -1959,7 +2209,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtmed4eflqf36igsub6" + "searchIndexId": "fvtee47hpjnegjvdh3l6" } }, "response": { @@ -1973,7 +2223,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtj41mj8uu02tvvh1i5" + "searchIndexId": "fvtavu9kirfk60bfqo2u" } }, "response": { @@ -1987,7 +2237,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtvi63l544pcehvaite" + "searchIndexId": "fvtn4o6eephvofll92r0" } }, "response": { @@ -2001,7 +2251,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt7gc2p6c81lcdicdka" + "searchIndexId": "fvtpfbin13t2q7mp7t69" } }, "response": { @@ -2015,7 +2265,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtskqvcjcsu3jb53qh5" + "searchIndexId": "fvtvqil726sk6ofjd567" } }, "response": { @@ -2029,7 +2279,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt3lcbmvsabos61cdh4" + "searchIndexId": "fvthduki99mcidfiaina" } }, "response": { @@ -2043,7 +2293,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtagnpene84ri1gko74" + "searchIndexId": "fvtjvoq7b6ad3gpg8sps" } }, "response": { @@ -2057,7 +2307,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt4glg110v81phvnn9l" + "searchIndexId": "fvtskcp5rkckcl6msoug" } }, "response": { @@ -2071,7 +2321,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtv5q8tf9rrcqjruqk6" + "searchIndexId": "fvtq36e1s32vqrk6kg48" } }, "response": { @@ -2085,7 +2335,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtst4r1foav6uh2bl2n" + "searchIndexId": "fvtciak4to4siajfr040" } }, "response": { @@ -2099,7 +2349,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvt9gqo4i706qen6abp4" + "searchIndexId": "fvt3sq4fnv7njgaqos85" } }, "response": { @@ -2113,7 +2363,7 @@ "cls": "DeleteSearchIndexRequest", "module": "yandex.cloud.ai.assistants.v1.searchindex.search_index_service_pb2", "message": { - "searchIndexId": "fvtjsiq2svr08htf8bcj" + "searchIndexId": "fvto0neer9nlevsrqtia" } }, "response": { @@ -2127,7 +2377,7 @@ "cls": "DeleteFileRequest", "module": "yandex.cloud.ai.files.v1.file_service_pb2", "message": { - "fileId": "fvte7h3e4u5bo3tkk7t0" + "fileId": "fvt8tcq0uv7agskdvnar" } }, "response": { diff --git a/tests/assistants/cassettes/test_threads/test_thread.gprc.json b/tests/assistants/cassettes/test_threads/test_thread.gprc.json index fe2e953b..83be48b0 100644 --- a/tests/assistants/cassettes/test_threads/test_thread.gprc.json +++ b/tests/assistants/cassettes/test_threads/test_thread.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt4ml2bm1o0jcdm6fgc", + "id": "fvte32amkll2mticn0bl", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt3ca45s341b4uk493l", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:26.678841Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:26.678841Z", + "defaultMessageAuthorId": "fvt5h4m31fsj2e0uqrbk", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:10.605954Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:10.605954Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:26.678841Z" + "expiresAt": "2025-07-31T14:30:10.605954Z" } } }, @@ -415,8 +491,8 @@ "cls": "UpdateThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt4ml2bm1o0jcdm6fgc", - "updateMask": "name,description,labels", + "threadId": "fvte32amkll2mticn0bl", + "updateMask": "name", "name": "name" } }, @@ -424,19 +500,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt4ml2bm1o0jcdm6fgc", + "id": "fvte32amkll2mticn0bl", "folderId": "b1ghsjum2v37c2un8h64", "name": "name", - "defaultMessageAuthorId": "fvt3ca45s341b4uk493l", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:26.678841Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:26.802136Z", + "defaultMessageAuthorId": "fvt5h4m31fsj2e0uqrbk", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:10.605954Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:10.645223Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:26.678841Z" + "expiresAt": "2025-07-31T14:30:10.605954Z" } } }, @@ -445,8 +521,8 @@ "cls": "UpdateThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt4ml2bm1o0jcdm6fgc", - "updateMask": "name,description,labels", + "threadId": "fvte32amkll2mticn0bl", + "updateMask": "description", "description": "description" } }, @@ -454,19 +530,20 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt4ml2bm1o0jcdm6fgc", + "id": "fvte32amkll2mticn0bl", "folderId": "b1ghsjum2v37c2un8h64", + "name": "name", "description": "description", - "defaultMessageAuthorId": "fvt3ca45s341b4uk493l", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:26.678841Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:26.884395Z", + "defaultMessageAuthorId": "fvt5h4m31fsj2e0uqrbk", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:10.605954Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:10.700067Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:26.678841Z" + "expiresAt": "2025-07-31T14:30:10.605954Z" } } }, @@ -475,8 +552,8 @@ "cls": "UpdateThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt4ml2bm1o0jcdm6fgc", - "updateMask": "name,description,labels", + "threadId": "fvte32amkll2mticn0bl", + "updateMask": "labels", "labels": { "foo": "bar" } @@ -486,18 +563,20 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt4ml2bm1o0jcdm6fgc", + "id": "fvte32amkll2mticn0bl", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt3ca45s341b4uk493l", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:26.678841Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:26.941843Z", + "name": "name", + "description": "description", + "defaultMessageAuthorId": "fvt5h4m31fsj2e0uqrbk", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:10.605954Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:10.754195Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:26.678841Z", + "expiresAt": "2025-07-31T14:30:10.605954Z", "labels": { "foo": "bar" } @@ -509,7 +588,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt4ml2bm1o0jcdm6fgc" + "threadId": "fvte32amkll2mticn0bl" } }, "response": { diff --git a/tests/assistants/cassettes/test_threads/test_thread_deleted.gprc.json b/tests/assistants/cassettes/test_threads/test_thread_deleted.gprc.json index 1b574307..ae7b90ef 100644 --- a/tests/assistants/cassettes/test_threads/test_thread_deleted.gprc.json +++ b/tests/assistants/cassettes/test_threads/test_thread_deleted.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtiles2t90gc4qdlpp8", + "id": "fvtpq4b5mj4j6vljel8a", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtvpb1tken27o68a4oh", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:31.513531Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:31.513531Z", + "defaultMessageAuthorId": "fvtdoa1hj0e42au8getq", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:12.654891Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:12.654891Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:31.513531Z" + "expiresAt": "2025-07-31T14:30:12.654891Z" } } }, @@ -415,7 +491,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtiles2t90gc4qdlpp8" + "threadId": "fvtpq4b5mj4j6vljel8a" } }, "response": { diff --git a/tests/assistants/cassettes/test_threads/test_thread_expiration.gprc.json b/tests/assistants/cassettes/test_threads/test_thread_expiration.gprc.json index 5e5d6ba1..ce8a9103 100644 --- a/tests/assistants/cassettes/test_threads/test_thread_expiration.gprc.json +++ b/tests/assistants/cassettes/test_threads/test_thread_expiration.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt86o5tu0uu31m7a8nv", + "id": "fvt3ocegpm7fs64ko12q", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtjeg66tovh08ddiohu", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:47:52.145136Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:47:52.145136Z", + "defaultMessageAuthorId": "fvtpc5in6a7ldhmq3kti", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.842894Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:13.842894Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-21T17:47:52.145136Z" + "expiresAt": "2025-07-31T14:30:13.842894Z" } } }, @@ -426,18 +502,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtkne8mfqndbmdrsglf", + "id": "fvtmkjk2hh0erl9r9095", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtmf29ejb6hbm7dj54a", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:47:52.324656Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:47:52.324656Z", + "defaultMessageAuthorId": "fvt5pm8qh8gjb49vj6mu", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.892454Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:13.892454Z", "expirationConfig": { "expirationPolicy": "STATIC", "ttlDays": "5" }, - "expiresAt": "2024-10-19T17:47:52.324656Z" + "expiresAt": "2025-07-29T14:30:13.892454Z" } } }, @@ -446,8 +522,8 @@ "cls": "UpdateThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt86o5tu0uu31m7a8nv", - "updateMask": "name,description,labels,expirationConfig.ttlDays", + "threadId": "fvt3ocegpm7fs64ko12q", + "updateMask": "expirationConfig.ttlDays", "expirationConfig": { "ttlDays": "3" } @@ -457,18 +533,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt86o5tu0uu31m7a8nv", + "id": "fvt3ocegpm7fs64ko12q", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtjeg66tovh08ddiohu", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:47:52.145136Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:47:52.426485Z", + "defaultMessageAuthorId": "fvtpc5in6a7ldhmq3kti", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.842894Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:13.923061Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "3" }, - "expiresAt": "2024-10-21T17:47:52.145136Z" + "expiresAt": "2025-07-27T14:30:13.842894Z" } } }, @@ -477,8 +553,8 @@ "cls": "UpdateThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt86o5tu0uu31m7a8nv", - "updateMask": "name,description,labels,expirationConfig.expirationPolicy", + "threadId": "fvt3ocegpm7fs64ko12q", + "updateMask": "expirationConfig.expirationPolicy", "expirationConfig": { "expirationPolicy": "STATIC" } @@ -488,18 +564,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt86o5tu0uu31m7a8nv", + "id": "fvt3ocegpm7fs64ko12q", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtjeg66tovh08ddiohu", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-14T17:47:52.145136Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-14T17:47:52.495294Z", + "defaultMessageAuthorId": "fvtpc5in6a7ldhmq3kti", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.842894Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:13.961716Z", "expirationConfig": { "expirationPolicy": "STATIC", "ttlDays": "3" }, - "expiresAt": "2024-10-21T17:47:52.145136Z" + "expiresAt": "2025-07-27T14:30:13.842894Z" } } }, @@ -508,7 +584,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt86o5tu0uu31m7a8nv" + "threadId": "fvt3ocegpm7fs64ko12q" } }, "response": { @@ -522,7 +598,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtkne8mfqndbmdrsglf" + "threadId": "fvtmkjk2hh0erl9r9095" } }, "response": { diff --git a/tests/assistants/cassettes/test_threads/test_thread_get.gprc.json b/tests/assistants/cassettes/test_threads/test_thread_get.gprc.json index b8d920e0..ff8ce969 100644 --- a/tests/assistants/cassettes/test_threads/test_thread_get.gprc.json +++ b/tests/assistants/cassettes/test_threads/test_thread_get.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt38goak3v9voiq79qp", + "id": "fvtmoq5491h08gevssk5", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt4ger7jja52vqjp6so", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:27.354267Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:27.354267Z", + "defaultMessageAuthorId": "fvt3j3ruv8j5cpvp1lbp", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.033294Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.033294Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:27.354267Z" + "expiresAt": "2025-07-31T14:30:11.033294Z" } } }, @@ -415,25 +491,25 @@ "cls": "GetThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt38goak3v9voiq79qp" + "threadId": "fvtmoq5491h08gevssk5" } }, "response": { "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt38goak3v9voiq79qp", + "id": "fvtmoq5491h08gevssk5", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvt4ger7jja52vqjp6so", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:27.354267Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:27.354267Z", + "defaultMessageAuthorId": "fvt3j3ruv8j5cpvp1lbp", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.033294Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.033294Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:27.354267Z" + "expiresAt": "2025-07-31T14:30:11.033294Z" } } }, @@ -442,7 +518,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt38goak3v9voiq79qp" + "threadId": "fvtmoq5491h08gevssk5" } }, "response": { diff --git a/tests/assistants/cassettes/test_threads/test_thread_list.gprc.json b/tests/assistants/cassettes/test_threads/test_thread_list.gprc.json index 94f7d6dc..c2a2fd91 100644 --- a/tests/assistants/cassettes/test_threads/test_thread_list.gprc.json +++ b/tests/assistants/cassettes/test_threads/test_thread_list.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -396,19 +472,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt2ne2e05r93ecovmur", + "id": "fvtuu90i4qi3m3ka23v9", "folderId": "b1ghsjum2v37c2un8h64", "name": "t0", - "defaultMessageAuthorId": "fvtahidds245ks5tmpim", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:27.874638Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:27.874638Z", + "defaultMessageAuthorId": "fvttf541df6efpcag5j9", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.281293Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.281293Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:27.874638Z" + "expiresAt": "2025-07-31T14:30:11.281293Z" } } }, @@ -425,19 +501,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtpigno8f1m09fqf6fe", + "id": "fvtuharocdtmfc1oim6b", "folderId": "b1ghsjum2v37c2un8h64", "name": "t1", - "defaultMessageAuthorId": "fvtka01k3a41e4j4cml2", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.096497Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.096497Z", + "defaultMessageAuthorId": "fvthkrqa3ocqcojekkf8", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.331657Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.331657Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.096497Z" + "expiresAt": "2025-07-31T14:30:11.331657Z" } } }, @@ -454,19 +530,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtl9vfngmgeuubqail9", + "id": "fvtejgb1gc8un8tdpel5", "folderId": "b1ghsjum2v37c2un8h64", "name": "t2", - "defaultMessageAuthorId": "fvtpcejtv9rt9o0k7fst", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.314690Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.314690Z", + "defaultMessageAuthorId": "fvt46asfm2l55g3brr86", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.386484Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.386484Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.314690Z" + "expiresAt": "2025-07-31T14:30:11.386484Z" } } }, @@ -483,19 +559,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt3k5shbpa9skf22rma", + "id": "fvt3gvqdro470elh6jvv", "folderId": "b1ghsjum2v37c2un8h64", "name": "t3", - "defaultMessageAuthorId": "fvthla3u68q7dig1eul7", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.489848Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.489848Z", + "defaultMessageAuthorId": "fvt24tnd2vu26a72lmqg", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.430879Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.430879Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.489848Z" + "expiresAt": "2025-07-31T14:30:11.430879Z" } } }, @@ -512,19 +588,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt65fdgis7oprr9364j", + "id": "fvtg1lp34su3s34tmg6m", "folderId": "b1ghsjum2v37c2un8h64", "name": "t4", - "defaultMessageAuthorId": "fvtpuse9j48nulmep81g", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.724861Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.724861Z", + "defaultMessageAuthorId": "fvtajt2mmbe2jccfr1iv", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.480204Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.480204Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.724861Z" + "expiresAt": "2025-07-31T14:30:11.480204Z" } } }, @@ -541,19 +617,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtp0euavo6iu0fr4otu", + "id": "fvt3letkes3b032mhn69", "folderId": "b1ghsjum2v37c2un8h64", "name": "t5", - "defaultMessageAuthorId": "fvt2geb258nu9pbcgg1g", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.944916Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.944916Z", + "defaultMessageAuthorId": "fvts9q3dg5h9mob19omh", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.518989Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.518989Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.944916Z" + "expiresAt": "2025-07-31T14:30:11.518989Z" } } }, @@ -570,19 +646,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt1npn6ka0b2ptn64js", + "id": "fvtt8u9979132rb7tsdh", "folderId": "b1ghsjum2v37c2un8h64", "name": "t6", - "defaultMessageAuthorId": "fvth89u9cisei37uo02a", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.102969Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.102969Z", + "defaultMessageAuthorId": "fvt4v1it8j6l6l4kcsah", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.558815Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.558815Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.102969Z" + "expiresAt": "2025-07-31T14:30:11.558815Z" } } }, @@ -599,19 +675,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvthp957c2snp16qo159", + "id": "fvtmibqq17jefjfkmib9", "folderId": "b1ghsjum2v37c2un8h64", "name": "t7", - "defaultMessageAuthorId": "fvttpvg5cpc4qgfap85m", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.278990Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.278990Z", + "defaultMessageAuthorId": "fvt1udfbd0pjb14scme2", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.606256Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.606256Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.278990Z" + "expiresAt": "2025-07-31T14:30:11.606256Z" } } }, @@ -628,19 +704,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvtt5m9epknbe3vf3bii", + "id": "fvtkku558868nuh8lv42", "folderId": "b1ghsjum2v37c2un8h64", "name": "t8", - "defaultMessageAuthorId": "fvt2k8tv283np2uispic", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.437724Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.437724Z", + "defaultMessageAuthorId": "fvte8o14pdcf7p1bv88a", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.654145Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.654145Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.437724Z" + "expiresAt": "2025-07-31T14:30:11.654145Z" } } }, @@ -657,19 +733,19 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt4d5itg7o2bk3d52i0", + "id": "fvtcu39sidaiet8d9936", "folderId": "b1ghsjum2v37c2un8h64", "name": "t9", - "defaultMessageAuthorId": "fvt6rge6noak0ur21jo0", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.654235Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.654235Z", + "defaultMessageAuthorId": "fvtdtpui55qli2qdt3n8", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.704332Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.704332Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.654235Z" + "expiresAt": "2025-07-31T14:30:11.704332Z" } } }, @@ -687,157 +763,199 @@ "message": { "threads": [ { - "id": "fvt4d5itg7o2bk3d52i0", + "id": "fvtcu39sidaiet8d9936", "folderId": "b1ghsjum2v37c2un8h64", "name": "t9", - "defaultMessageAuthorId": "fvt6rge6noak0ur21jo0", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.654235Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.654235Z", + "defaultMessageAuthorId": "fvtdtpui55qli2qdt3n8", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.704332Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.704332Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.654235Z" + "expiresAt": "2025-07-31T14:30:11.704332Z" }, { - "id": "fvtt5m9epknbe3vf3bii", + "id": "fvtkku558868nuh8lv42", "folderId": "b1ghsjum2v37c2un8h64", "name": "t8", - "defaultMessageAuthorId": "fvt2k8tv283np2uispic", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.437724Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.437724Z", + "defaultMessageAuthorId": "fvte8o14pdcf7p1bv88a", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.654145Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.654145Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.437724Z" + "expiresAt": "2025-07-31T14:30:11.654145Z" }, { - "id": "fvthp957c2snp16qo159", + "id": "fvtmibqq17jefjfkmib9", "folderId": "b1ghsjum2v37c2un8h64", "name": "t7", - "defaultMessageAuthorId": "fvttpvg5cpc4qgfap85m", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.278990Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.278990Z", + "defaultMessageAuthorId": "fvt1udfbd0pjb14scme2", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.606256Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.606256Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.278990Z" + "expiresAt": "2025-07-31T14:30:11.606256Z" }, { - "id": "fvt1npn6ka0b2ptn64js", + "id": "fvtt8u9979132rb7tsdh", "folderId": "b1ghsjum2v37c2un8h64", "name": "t6", - "defaultMessageAuthorId": "fvth89u9cisei37uo02a", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:29.102969Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:29.102969Z", + "defaultMessageAuthorId": "fvt4v1it8j6l6l4kcsah", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.558815Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.558815Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:29.102969Z" + "expiresAt": "2025-07-31T14:30:11.558815Z" }, { - "id": "fvtp0euavo6iu0fr4otu", + "id": "fvt3letkes3b032mhn69", "folderId": "b1ghsjum2v37c2un8h64", "name": "t5", - "defaultMessageAuthorId": "fvt2geb258nu9pbcgg1g", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.944916Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.944916Z", + "defaultMessageAuthorId": "fvts9q3dg5h9mob19omh", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.518989Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.518989Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.944916Z" + "expiresAt": "2025-07-31T14:30:11.518989Z" }, { - "id": "fvt65fdgis7oprr9364j", + "id": "fvtg1lp34su3s34tmg6m", "folderId": "b1ghsjum2v37c2un8h64", "name": "t4", - "defaultMessageAuthorId": "fvtpuse9j48nulmep81g", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.724861Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.724861Z", + "defaultMessageAuthorId": "fvtajt2mmbe2jccfr1iv", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.480204Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.480204Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.724861Z" + "expiresAt": "2025-07-31T14:30:11.480204Z" }, { - "id": "fvt3k5shbpa9skf22rma", + "id": "fvt3gvqdro470elh6jvv", "folderId": "b1ghsjum2v37c2un8h64", "name": "t3", - "defaultMessageAuthorId": "fvthla3u68q7dig1eul7", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.489848Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.489848Z", + "defaultMessageAuthorId": "fvt24tnd2vu26a72lmqg", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.430879Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.430879Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.489848Z" + "expiresAt": "2025-07-31T14:30:11.430879Z" }, { - "id": "fvtl9vfngmgeuubqail9", + "id": "fvtejgb1gc8un8tdpel5", "folderId": "b1ghsjum2v37c2un8h64", "name": "t2", - "defaultMessageAuthorId": "fvtpcejtv9rt9o0k7fst", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.314690Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.314690Z", + "defaultMessageAuthorId": "fvt46asfm2l55g3brr86", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.386484Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.386484Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.314690Z" + "expiresAt": "2025-07-31T14:30:11.386484Z" }, { - "id": "fvtpigno8f1m09fqf6fe", + "id": "fvtuharocdtmfc1oim6b", "folderId": "b1ghsjum2v37c2un8h64", "name": "t1", - "defaultMessageAuthorId": "fvtka01k3a41e4j4cml2", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:28.096497Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:28.096497Z", + "defaultMessageAuthorId": "fvthkrqa3ocqcojekkf8", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.331657Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.331657Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:28.096497Z" + "expiresAt": "2025-07-31T14:30:11.331657Z" }, { - "id": "fvt2ne2e05r93ecovmur", + "id": "fvtuu90i4qi3m3ka23v9", "folderId": "b1ghsjum2v37c2un8h64", "name": "t0", - "defaultMessageAuthorId": "fvtahidds245ks5tmpim", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:27.874638Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:27.874638Z", + "defaultMessageAuthorId": "fvttf541df6efpcag5j9", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:11.281293Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:11.281293Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:30:11.281293Z" + }, + { + "id": "fvtgj0rhq5pp80tsl3ej", + "folderId": "b1ghsjum2v37c2un8h64", + "defaultMessageAuthorId": "fvtp425q4rfvj00rkqvt", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:26:20.403223Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:26:20.403223Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:27.874638Z" + "expiresAt": "2025-07-31T14:26:21.263794Z" + }, + { + "id": "fvt9a4leaiak4v1h215i", + "folderId": "b1ghsjum2v37c2un8h64", + "defaultMessageAuthorId": "fvtshbdrsd8sr9terek1", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:26:19.640977Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:26:19.640977Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:26:20.254420Z" + }, + { + "id": "fvt03veop86n8fm9ret9", + "folderId": "b1ghsjum2v37c2un8h64", + "defaultMessageAuthorId": "fvtftns301gq2j69n3pi", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:26:18.591352Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:26:18.591352Z", + "expirationConfig": { + "expirationPolicy": "SINCE_LAST_ACTIVE", + "ttlDays": "7" + }, + "expiresAt": "2025-07-31T14:26:19.310113Z" } ], - "nextPageToken": "MjAyNC0xMC0wOVQxODozNjoyNy44NzQ2MzhAZnZ0Mm5lMmUwNXI5M2Vjb3ZtdXI=" + "nextPageToken": "MjAyNS0wNy0yNFQxNDoyNjoxOC41OTEzNTJAZnZ0MDN2ZW9wODZuOGZtOXJldDk=" } } }, @@ -847,7 +965,7 @@ "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { "folderId": "b1ghsjum2v37c2un8h64", - "pageToken": "MjAyNC0xMC0wOVQxODozNjoyNy44NzQ2MzhAZnZ0Mm5lMmUwNXI5M2Vjb3ZtdXI=" + "pageToken": "MjAyNS0wNy0yNFQxNDoyNjoxOC41OTEzNTJAZnZ0MDN2ZW9wODZuOGZtOXJldDk=" } }, "response": { @@ -861,7 +979,49 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt4d5itg7o2bk3d52i0" + "threadId": "fvtcu39sidaiet8d9936" + } + }, + "response": { + "cls": "DeleteThreadResponse", + "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteThreadRequest", + "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", + "message": { + "threadId": "fvtkku558868nuh8lv42" + } + }, + "response": { + "cls": "DeleteThreadResponse", + "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteThreadRequest", + "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", + "message": { + "threadId": "fvtmibqq17jefjfkmib9" + } + }, + "response": { + "cls": "DeleteThreadResponse", + "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", + "message": {} + } + }, + { + "request": { + "cls": "DeleteThreadRequest", + "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", + "message": { + "threadId": "fvtt8u9979132rb7tsdh" } }, "response": { @@ -875,7 +1035,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtt5m9epknbe3vf3bii" + "threadId": "fvt3letkes3b032mhn69" } }, "response": { @@ -889,7 +1049,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvthp957c2snp16qo159" + "threadId": "fvtg1lp34su3s34tmg6m" } }, "response": { @@ -903,7 +1063,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt1npn6ka0b2ptn64js" + "threadId": "fvt3gvqdro470elh6jvv" } }, "response": { @@ -917,7 +1077,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtp0euavo6iu0fr4otu" + "threadId": "fvtejgb1gc8un8tdpel5" } }, "response": { @@ -931,7 +1091,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt65fdgis7oprr9364j" + "threadId": "fvtuharocdtmfc1oim6b" } }, "response": { @@ -945,7 +1105,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt3k5shbpa9skf22rma" + "threadId": "fvtuu90i4qi3m3ka23v9" } }, "response": { @@ -959,7 +1119,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtl9vfngmgeuubqail9" + "threadId": "fvtgj0rhq5pp80tsl3ej" } }, "response": { @@ -973,7 +1133,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvtpigno8f1m09fqf6fe" + "threadId": "fvt9a4leaiak4v1h215i" } }, "response": { @@ -987,7 +1147,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt2ne2e05r93ecovmur" + "threadId": "fvt03veop86n8fm9ret9" } }, "response": { diff --git a/tests/assistants/cassettes/test_threads/test_thread_read_write.gprc.json b/tests/assistants/cassettes/test_threads/test_thread_read_write.gprc.json index eea50bf2..9211e73d 100644 --- a/tests/assistants/cassettes/test_threads/test_thread_read_write.gprc.json +++ b/tests/assistants/cassettes/test_threads/test_thread_read_write.gprc.json @@ -11,6 +11,14 @@ "module": "yandex.cloud.endpoint.api_endpoint_service_pb2", "message": { "endpoints": [ + { + "id": "ai-assistants", + "address": "assistant.api.cloud.yandex.net:443" + }, + { + "id": "ai-files", + "address": "assistant.api.cloud.yandex.net:443" + }, { "id": "ai-foundation-models", "address": "llm.api.cloud.yandex.net:443" @@ -71,6 +79,10 @@ "id": "backup", "address": "backup.api.cloud.yandex.net:443" }, + { + "id": "baremetal", + "address": "baremetal.api.cloud.yandex.net:443" + }, { "id": "billing", "address": "billing.api.cloud.yandex.net:443" @@ -91,9 +103,21 @@ "id": "certificate-manager-data", "address": "data.certificate-manager.api.cloud.yandex.net:443" }, + { + "id": "certificate-manager-private-ca", + "address": "private-ca.certificate-manager.api.cloud.yandex.net:443" + }, + { + "id": "certificate-manager-private-ca-data", + "address": "data.private-ca.certificate-manager.api.cloud.yandex.net:443" + }, { "id": "cic", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cic.api.cloud.yandex.net:443" + }, + { + "id": "cloud-registry", + "address": "registry.api.cloud.yandex.net:443" }, { "id": "cloudapps", @@ -109,7 +133,7 @@ }, { "id": "cloudrouter", - "address": "cic-api.api.cloud.yandex.net:443" + "address": "cloudrouter.api.cloud.yandex.net:443" }, { "id": "cloudvideo", @@ -147,6 +171,18 @@ "id": "endpoint", "address": "api.cloud.yandex.net:443" }, + { + "id": "fomo-dataset", + "address": "fomo-dataset.api.cloud.yandex.net:443" + }, + { + "id": "fomo-tuning", + "address": "fomo-tuning.api.cloud.yandex.net:443" + }, + { + "id": "gitlab", + "address": "gitlab.api.cloud.yandex.net:443" + }, { "id": "iam", "address": "iam.api.cloud.yandex.net:443" @@ -175,6 +211,10 @@ "id": "kms-crypto", "address": "kms.yandex:443" }, + { + "id": "kspm", + "address": "kspm.api.cloud.yandex.net:443" + }, { "id": "load-balancer", "address": "load-balancer.api.cloud.yandex.net:443" @@ -231,6 +271,10 @@ "id": "managed-kubernetes", "address": "mks.api.cloud.yandex.net:443" }, + { + "id": "managed-metastore", + "address": "metastore.api.cloud.yandex.net:443" + }, { "id": "managed-mongodb", "address": "mdb.api.cloud.yandex.net:443" @@ -251,14 +295,34 @@ "id": "managed-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-spark", + "address": "spark.api.cloud.yandex.net:443" + }, + { + "id": "managed-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "managed-sqlserver", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "managed-trino", + "address": "trino.api.cloud.yandex.net:443" + }, + { + "id": "managed-ytsaurus", + "address": "ytsaurus.api.cloud.yandex.net:443" + }, { "id": "marketplace", "address": "marketplace.api.cloud.yandex.net:443" }, + { + "id": "marketplace-pim", + "address": "marketplace.api.cloud.yandex.net:443" + }, { "id": "mdb-clickhouse", "address": "mdb.api.cloud.yandex.net:443" @@ -283,6 +347,10 @@ "id": "mdb-redis", "address": "mdb.api.cloud.yandex.net:443" }, + { + "id": "mdb-spqr", + "address": "mdb.api.cloud.yandex.net:443" + }, { "id": "mdbproxy", "address": "mdbproxy.api.cloud.yandex.net:443" @@ -303,6 +371,14 @@ "id": "organizationmanager", "address": "organization-manager.api.cloud.yandex.net:443" }, + { + "id": "quota-manager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, + { + "id": "quotamanager", + "address": "quota-manager.api.cloud.yandex.net:443" + }, { "id": "resource-manager", "address": "resource-manager.api.cloud.yandex.net:443" @@ -395,18 +471,18 @@ "cls": "Thread", "module": "yandex.cloud.ai.assistants.v1.threads.thread_pb2", "message": { - "id": "fvt7mme21l8lu07p0hoi", + "id": "fvt6540gc62vdi7oofj4", "folderId": "b1ghsjum2v37c2un8h64", - "defaultMessageAuthorId": "fvtot60lo6c5ogugu07d", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:31.959021Z", - "updatedBy": "ajek27c96hekgf8f8016", - "updatedAt": "2024-10-09T18:36:31.959021Z", + "defaultMessageAuthorId": "fvtn5op36f7dkodt4n4u", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:12.841695Z", + "updatedBy": "aje6euqn63oa635coh28", + "updatedAt": "2025-07-24T14:30:12.841695Z", "expirationConfig": { "expirationPolicy": "SINCE_LAST_ACTIVE", "ttlDays": "7" }, - "expiresAt": "2024-10-16T18:36:31.959021Z" + "expiresAt": "2025-07-31T14:30:12.841695Z" } } }, @@ -415,7 +491,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -431,12 +507,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvth5b1k6s88gngqlls8", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.124823Z", + "id": "fvtbirc688a99mm5iine", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:12.968411Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -447,7 +523,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -456,7 +533,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -472,12 +549,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtt9aimgbrtd8qp604g", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.226732Z", + "id": "fvte590tl8v0dro1e1hl", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.039989Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -488,7 +565,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -497,7 +575,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -513,12 +591,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt5584uhc61fosde284", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.374973Z", + "id": "fvtevgf8t1ol437di7v6", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.105040Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -529,7 +607,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -538,7 +617,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -554,12 +633,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvttldeqnir5ddvi6ki1", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.547134Z", + "id": "fvtbglamuq7dj2jj2cjo", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.170604Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -570,7 +649,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -579,7 +659,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -595,12 +675,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt187kk4apjhrislkho", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.714853Z", + "id": "fvtrc5cf12n1lkeo779g", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.237754Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -611,7 +691,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -620,7 +701,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -636,12 +717,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtu581oe9oou8neslqs", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.816126Z", + "id": "fvt81miavgo4etmghk6s", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.335035Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -652,7 +733,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -661,7 +743,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -677,12 +759,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt90fot6nukuvhpuv18", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.954538Z", + "id": "fvt6iotjff54qim35oq6", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.396464Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -693,7 +775,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -702,7 +785,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -718,12 +801,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtb8pn9tgcbviu1f74d", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:33.116569Z", + "id": "fvt2aflgaiu8dudsplvf", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.463549Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -734,7 +817,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -743,7 +827,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -759,12 +843,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt0duqrv4aecr2ee80p", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:33.283660Z", + "id": "fvthj7gv8qjng8ucsmhg", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.524378Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -775,7 +859,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -784,7 +869,7 @@ "cls": "CreateMessageRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi", + "threadId": "fvt6540gc62vdi7oofj4", "content": { "content": [ { @@ -800,12 +885,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtgsonf7gucnnpgmta6", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:33.447131Z", + "id": "fvta0lv35pji7vkr0vsf", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.624033Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -816,7 +901,8 @@ } } ] - } + }, + "status": "COMPLETED" } } }, @@ -825,7 +911,7 @@ "cls": "ListMessagesRequest", "module": "yandex.cloud.ai.assistants.v1.threads.message_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi" + "threadId": "fvt6540gc62vdi7oofj4" } }, "response_stream": [ @@ -833,12 +919,12 @@ "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtgsonf7gucnnpgmta6", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:33.447131Z", + "id": "fvta0lv35pji7vkr0vsf", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.624033Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -849,19 +935,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt0duqrv4aecr2ee80p", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:33.283660Z", + "id": "fvthj7gv8qjng8ucsmhg", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.524378Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -872,19 +959,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtb8pn9tgcbviu1f74d", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:33.116569Z", + "id": "fvt2aflgaiu8dudsplvf", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.463549Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -895,19 +983,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt90fot6nukuvhpuv18", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.954538Z", + "id": "fvt6iotjff54qim35oq6", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.396464Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -918,19 +1007,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtu581oe9oou8neslqs", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.816126Z", + "id": "fvt81miavgo4etmghk6s", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.335035Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -941,19 +1031,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt187kk4apjhrislkho", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.714853Z", + "id": "fvtrc5cf12n1lkeo779g", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.237754Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -964,19 +1055,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvttldeqnir5ddvi6ki1", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.547134Z", + "id": "fvtbglamuq7dj2jj2cjo", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.170604Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -987,19 +1079,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvt5584uhc61fosde284", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.374973Z", + "id": "fvtevgf8t1ol437di7v6", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.105040Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -1010,19 +1103,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvtt9aimgbrtd8qp604g", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.226732Z", + "id": "fvte590tl8v0dro1e1hl", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:13.039989Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -1033,19 +1127,20 @@ } } ] - } + }, + "status": "COMPLETED" } }, { "cls": "Message", "module": "yandex.cloud.ai.assistants.v1.threads.message_pb2", "message": { - "id": "fvth5b1k6s88gngqlls8", - "threadId": "fvt7mme21l8lu07p0hoi", - "createdBy": "ajek27c96hekgf8f8016", - "createdAt": "2024-10-09T18:36:32.124823Z", + "id": "fvtbirc688a99mm5iine", + "threadId": "fvt6540gc62vdi7oofj4", + "createdBy": "aje6euqn63oa635coh28", + "createdAt": "2025-07-24T14:30:12.968411Z", "author": { - "id": "fvtot60lo6c5ogugu07d", + "id": "fvtn5op36f7dkodt4n4u", "role": "USER" }, "content": { @@ -1056,7 +1151,8 @@ } } ] - } + }, + "status": "COMPLETED" } } ] @@ -1066,7 +1162,7 @@ "cls": "DeleteThreadRequest", "module": "yandex.cloud.ai.assistants.v1.threads.thread_service_pb2", "message": { - "threadId": "fvt7mme21l8lu07p0hoi" + "threadId": "fvt6540gc62vdi7oofj4" } }, "response": { diff --git a/tests/assistants/test_search_indexes.py b/tests/assistants/test_search_indexes.py index 75d207f1..d179eb2d 100644 --- a/tests/assistants/test_search_indexes.py +++ b/tests/assistants/test_search_indexes.py @@ -166,12 +166,14 @@ async def test_hybrid_search_index(async_sdk: AsyncYCloudML, test_file_path): assert isinstance(search_index.index_type, HybridSearchIndexType) assert isinstance(search_index.index_type.text_search_index, TextSearchIndexType) assert isinstance(search_index.index_type.vector_search_index, VectorSearchIndexType) - assert isinstance(search_index.index_type.vector_search_index.chunking_strategy, StaticIndexChunkingStrategy) - assert search_index.index_type.vector_search_index.chunking_strategy.max_chunk_size_tokens == 700 + assert search_index.index_type.vector_search_index.chunking_strategy is None assert search_index.index_type.normalization_strategy == IndexNormalizationStrategy.L2 assert isinstance(search_index.index_type.combination_strategy, ReciprocalRankFusionIndexCombinationStrategy) assert search_index.index_type.combination_strategy.k == 51 + assert isinstance(search_index.index_type.chunking_strategy, StaticIndexChunkingStrategy) + assert search_index.index_type.chunking_strategy.max_chunk_size_tokens == 700 + @pytest.mark.allow_grpc async def test_hybrid_search_index_mean(async_sdk: AsyncYCloudML, test_file_path): diff --git a/tests/conftest.py b/tests/conftest.py index 3de54617..2787cb56 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -153,13 +153,6 @@ def fixture_async_sdk( interceptors=interceptors, auth=auth, retry_policy=retry_policy, - service_map={ - # NOT SO TMP after all - # to remove this, we need to regenerate all of assistant tests cassetes - # and maybe change etalons in tests, so it needs some effort - 'ai-files': 'assistant.api.cloud.yandex.net', - 'ai-assistants': 'assistant.api.cloud.yandex.net', - } ) if test_client: sdk._client = test_client diff --git a/tests/test_client.py b/tests/test_client.py index aeb05e61..b069e1ad 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -15,8 +15,8 @@ CompletionResponse, TokenizeResponse ) from yandex.cloud.ai.foundation_models.v1.text_generation.text_generation_service_pb2_grpc import ( - TextGenerationServiceServicer, TokenizerServiceServicer, add_TextGenerationServiceServicer_to_server, - add_TokenizerServiceServicer_to_server + TextGenerationServiceServicer, TextGenerationServiceStub, TokenizerServiceServicer, + add_TextGenerationServiceServicer_to_server, add_TokenizerServiceServicer_to_server ) from yandex.cloud.endpoint.api_endpoint_service_pb2 import ListApiEndpointsRequest, ListApiEndpointsResponse from yandex.cloud.endpoint.api_endpoint_service_pb2_grpc import ApiEndpointServiceStub @@ -24,8 +24,13 @@ import yandex_cloud_ml_sdk._client from yandex_cloud_ml_sdk import AsyncYCloudML from yandex_cloud_ml_sdk._client import AsyncCloudClient, _get_user_agent +from yandex_cloud_ml_sdk._types.misc import UNDEFINED from yandex_cloud_ml_sdk.auth import NoAuth -from yandex_cloud_ml_sdk.exceptions import AioRpcError +from yandex_cloud_ml_sdk.exceptions import AioRpcError, UnknownEndpointError + + +class NewChannelException(Exception): + pass @pytest.fixture(name='servicers') @@ -95,6 +100,16 @@ async def test_multiple_requests(folder_id): await context.__aexit__(None, None, None) +@pytest.fixture(name='forbid_grpc_call') +def forbid_grpc_call_fixure(monkeypatch): + def raise_(*args, **kwargs): + endpoint = args[1] if len(args) > 1 else kwargs['endpoint'] + + raise NewChannelException(endpoint) + + monkeypatch.setattr(yandex_cloud_ml_sdk._client.AsyncCloudClient, '_new_channel', raise_) + + @pytest.mark.asyncio async def test_stream_cancel_async(async_sdk, servicers): """This tests shows, that after close, call is actually cancelled @@ -373,3 +388,46 @@ def raise_call_service_wrong(*args, **kwargs): assert '\tauth_provider' not in exc_repr assert '\tx-client-request-id = "grpc metadata was replaced with non-Metadata object"\n' in exc_repr + + +# pylint: disable=unused-argument +@pytest.mark.asyncio +@pytest.mark.parametrize('endpoint', [None, UNDEFINED]) +async def test_client_custom_map(folder_id, forbid_grpc_call, endpoint) -> None: + sdk = AsyncYCloudML( + folder_id=folder_id, + endpoint=endpoint, + service_map={'ai-foundation-models': 'ya.ru'} + ) + model = sdk.models.completions('foo') + + assert not sdk._client._endpoints + + with pytest.raises( + NewChannelException, + match='ya.ru' + ): + await model.run('bar') + + assert sdk._client._endpoints[TextGenerationServiceStub] == 'ya.ru' + + +@pytest.mark.asyncio +async def test_client_endpoint(folder_id, forbid_grpc_call) -> None: + sdk = AsyncYCloudML( + folder_id=folder_id, + endpoint=None, + ) + + with pytest.raises( + UnknownEndpointError, + match=r".+?`endpoint`.+?'ai-files'.+?`service_map`" + ): + await sdk.files.get('123') + + sdk = AsyncYCloudML(folder_id=folder_id, endpoint="yandex.cloud:999") + with pytest.raises( + NewChannelException, + match='yandex.cloud:999' + ): + await sdk.files.get('123')