LightMem icon indicating copy to clipboard operation
LightMem copied to clipboard

[Bug] Unknown attribute "retriever" when enable enable_summary

Open 3210448723 opened this issue 8 months ago • 1 comments

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(

3210448723 avatar Mar 22 '26 07:03 3210448723

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.

Xubqpanda avatar Mar 26 '26 06:03 Xubqpanda