MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / get

Method get

utils/attachments.py:222–223  ·  view source on GitHub ↗
(self, attachment_id: str)

Source from the content-addressed store, hash-verified

220 self._save_manifest()
221
222 def get(self, attachment_id: str) -> AttachmentRecord | None:
223 return self._records.get(attachment_id)
224
225 def to_message_block(self, attachment_id: str) -> MessageBlock:
226 record = self._records.get(attachment_id)

Callers 4

from_dictMethod · 0.45
update_remote_file_idMethod · 0.45
to_message_blockMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected