langflow icon indicating copy to clipboard operation
langflow copied to clipboard

refactor(components): Rename Memory Component for Better Clarity and Consistency

Open Vigtu opened this issue 1 year ago • 1 comments

Changes in Helper Components:

Component Renames:

  1. Memory -> MessageRetriever:
  • Renamed class from MemoryComponent to MessageRetrieverComponent
  • Updated display name to "Message Retriever"
  • Changed icon to "message-square-text"
  • Updated component name to "MessageRetriever"

Import Updates:

  • Updated import statements in init.py
  • Renamed imported components:
    • MemoryComponent -> MessageRetrieverComponent

File Renames:

  • memory.py -> message_retriever.py

No Functional Changes:

  • Core functionality remains the same
  • Only naming and cosmetic changes applied
  • Component descriptions maintained

Vigtu avatar Dec 02 '24 20:12 Vigtu

@Vigtu do you mind fixing the merge conflicts? This looks great by the way!

erichare avatar Dec 06 '24 19:12 erichare

I believe that the changes are no longer necessary, due to the implementations that are already being made in the memory component, that said I will be closing this PR

Vigtu avatar Dec 30 '24 12:12 Vigtu