MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / _setup_lightmem_path

Method _setup_lightmem_path

methods/lightmem_agent.py:424–432  ·  view source on GitHub ↗

Add LightMem src to Python path.

(self)

Source from the content-addressed store, hash-verified

422 "usage": None,
423 "entry_type": entry_type
424 }
425
426 with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
427 try:
428 results = list(executor.map(process_segment_wrapper, enumerate(extract_list)))
429 except Exception as e:
430 print(f"Error in parallel processing: {e}")
431 results = [None] * len(extract_list)
432
433 return results
434
435 def _call_update_llm(self, system_prompt, target_entry, candidate_sources):

Callers 1

__init__Method · 0.95

Calls 3

resolveMethod · 0.80
existsMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected