eradicate dead coad
This commit is contained in:
parent
bc9d11e6e2
commit
dd9af78693
|
|
@ -55,8 +55,6 @@ _global_memory: Dict[str, Any] = {
|
|||
"plans": [],
|
||||
"tasks": {}, # Dict[int, str] - ID to task mapping
|
||||
"task_id_counter": 1, # Counter for generating unique task IDs
|
||||
"key_facts": {}, # Dict[int, str] - ID to fact mapping (deprecated, using DB now)
|
||||
"key_fact_id_counter": 1, # Counter for generating unique fact IDs (deprecated, using DB now)
|
||||
"implementation_requested": False,
|
||||
"related_files": {}, # Dict[int, str] - ID to filepath mapping
|
||||
"related_file_id_counter": 1, # Counter for generating unique file IDs
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@ from ra_aid.tools.memory import _global_memory
|
|||
@pytest.fixture
|
||||
def reset_memory():
|
||||
"""Reset global memory before each test"""
|
||||
_global_memory["key_facts"] = {}
|
||||
_global_memory["key_fact_id_counter"] = 0
|
||||
_global_memory["research_notes"] = []
|
||||
_global_memory["plans"] = []
|
||||
_global_memory["tasks"] = {}
|
||||
|
|
@ -26,8 +24,6 @@ def reset_memory():
|
|||
_global_memory["work_log"] = []
|
||||
yield
|
||||
# Clean up after test
|
||||
_global_memory["key_facts"] = {}
|
||||
_global_memory["key_fact_id_counter"] = 0
|
||||
_global_memory["research_notes"] = []
|
||||
_global_memory["plans"] = []
|
||||
_global_memory["tasks"] = {}
|
||||
|
|
|
|||
|
|
@ -29,8 +29,6 @@ from ra_aid.database.models import KeyFact
|
|||
@pytest.fixture
|
||||
def reset_memory():
|
||||
"""Reset global memory before each test"""
|
||||
_global_memory["key_facts"] = {}
|
||||
_global_memory["key_fact_id_counter"] = 0
|
||||
_global_memory["research_notes"] = []
|
||||
_global_memory["plans"] = []
|
||||
_global_memory["tasks"] = {}
|
||||
|
|
@ -40,8 +38,6 @@ def reset_memory():
|
|||
_global_memory["work_log"] = []
|
||||
yield
|
||||
# Clean up after test
|
||||
_global_memory["key_facts"] = {}
|
||||
_global_memory["key_fact_id_counter"] = 0
|
||||
_global_memory["research_notes"] = []
|
||||
_global_memory["plans"] = []
|
||||
_global_memory["tasks"] = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue