Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/FoundationAgents/MetaGPT
/ exists
Method
exists
metagpt/memory/brain_memory.py:107–111 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
105
self.is_dirty = True
106
107
def
exists(self, text) -> bool:
108
for
m in reversed(self.history):
109
if
m.content == text:
110
return
True
111
return
False
112
113
@staticmethod
114
def
to_int(v, default_value):
Callers
15
test_memory
Function · 0.95
from_home
Method · 0.45
deserialize
Method · 0.45
get_metagpt_package_root
Function · 0.45
generate_repo
Function · 0.45
copy_config_to
Function · 0.45
from_path
Method · 0.45
from_path
Method · 0.45
rebuild_class_views
Method · 0.45
_parse_classes
Method · 0.45
_parse_class_relationships
Method · 0.45
_create_path_mapping
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_memory
Function · 0.76
rsp_cache
Function · 0.36
_rsp_cache
Function · 0.36
get_incremental_dev_result
Function · 0.36
test_config_priority
Function · 0.36
test_repo_parser
Function · 0.36
test_azure_tts
Function · 0.36
test_api_to_ut_sample
Method · 0.36
test_save_webpages_with_styles_and_scripts
Function · 0.36
test_save_webpages_with_style_and_script
Function · 0.36
test_file_repo
Function · 0.36
test_get_project_root
Method · 0.36