LightMem
LightMem copied to clipboard
[Bug] Unknown attribute "retriever" when enable enable_summary
https://github.com/zjunlp/LightMem/blob/fb0cfb05fe0badba1d42e7d5f3d1a17ea1bb5897/experiments/locomo/add_locomo.py#L420
Does this line of code need to be changed to:
summary_entries = lightmem_for_summary.summary_retriever.scroll(
Thanks for reporting this!
Yes, this was a bug. LightMemory does not expose retriever here when summary is enabled, so this should use summary_retriever instead. We also fixed the summary counting logic accordingly.
Fixed in main.