Skip to content

Commit 1654221

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@e24cb66
1 parent 77bd2b7 commit 1654221

File tree

2 files changed

+61
-17
lines changed

2 files changed

+61
-17
lines changed

agent/agent/v1alpha/common_pb2.py

Lines changed: 25 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

agent/agent/v1alpha/common_pb2.pyi

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,48 @@ class ChatAttachments(google.protobuf.message.Message):
145145

146146
DESCRIPTOR: google.protobuf.descriptor.Descriptor
147147

148-
FILE_URLS_FIELD_NUMBER: builtins.int
148+
@typing_extensions.final
149+
class FileAttachment(google.protobuf.message.Message):
150+
"""FileAttachment represents the file attachment for the message."""
151+
152+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
153+
154+
FILE_NAME_FIELD_NUMBER: builtins.int
155+
FILE_SIZE_FIELD_NUMBER: builtins.int
156+
CONTENT_TYPE_FIELD_NUMBER: builtins.int
157+
FILE_EXTENSION_FIELD_NUMBER: builtins.int
158+
DOWNLOAD_URL_FIELD_NUMBER: builtins.int
159+
file_name: builtins.str
160+
"""file name"""
161+
file_size: builtins.int
162+
"""file size"""
163+
content_type: builtins.str
164+
"""file type"""
165+
file_extension: builtins.str
166+
"""file extension"""
167+
download_url: builtins.str
168+
"""file download url"""
169+
def __init__(
170+
self,
171+
*,
172+
file_name: builtins.str = ...,
173+
file_size: builtins.int = ...,
174+
content_type: builtins.str = ...,
175+
file_extension: builtins.str = ...,
176+
download_url: builtins.str = ...,
177+
) -> None: ...
178+
def ClearField(self, field_name: typing_extensions.Literal["content_type", b"content_type", "download_url", b"download_url", "file_extension", b"file_extension", "file_name", b"file_name", "file_size", b"file_size"]) -> None: ...
179+
180+
FILE_ATTACHMENTS_FIELD_NUMBER: builtins.int
149181
@property
150-
def file_urls(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
182+
def file_attachments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ChatAttachments.FileAttachment]:
151183
"""file urls (only for user messages)"""
152184
def __init__(
153185
self,
154186
*,
155-
file_urls: collections.abc.Iterable[builtins.str] | None = ...,
187+
file_attachments: collections.abc.Iterable[global___ChatAttachments.FileAttachment] | None = ...,
156188
) -> None: ...
157-
def ClearField(self, field_name: typing_extensions.Literal["file_urls", b"file_urls"]) -> None: ...
189+
def ClearField(self, field_name: typing_extensions.Literal["file_attachments", b"file_attachments"]) -> None: ...
158190

159191
global___ChatAttachments = ChatAttachments
160192

0 commit comments

Comments
 (0)