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

Method update

runtime/node/agent/memory/file_memory.py:164–170  ·  view source on GitHub ↗

FileMemory is read-only, updates are not supported. This method is a no-op to maintain interface compatibility.

(self, payload: MemoryWritePayload)

Source from the content-addressed store, hash-verified

162 return results
163
164 def update(self, payload: MemoryWritePayload) -> None:
165 """
166 FileMemory is read-only, updates are not supported.
167 This method is a no-op to maintain interface compatibility.
168 """
169 logger.debug("FileMemory.update() called but FileMemory is read-only")
170 pass
171
172 # ========== Private Helper Methods ==========
173

Callers 15

build_env_var_mapFunction · 0.45
_sha256_fileFunction · 0.45
resolved_rootMethod · 0.45
search_high_light_keyFunction · 0.45
read_file_segmentFunction · 0.45
_update_metadataFunction · 0.45
_coerce_resultMethod · 0.45
_prepare_call_optionsMethod · 0.45
invokeMethod · 0.45
_build_tool_messageMethod · 0.45
_update_memoryMethod · 0.45
_run_processMethod · 0.45

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected