Memlayer v0.1.6 - Plug and Play Memory for LLMs
Memlayer v0.1.6 — Release Notes
Unified Import System (Legacy + Current)
__init__.py has been updated with a cleaner lazy-import mechanism. This fixes broken legacy imports while keeping modern import structures intact.
Both styles now work reliably:
# Legacy style
from memlayer import OpenAI
# Modern / Explicit style
from memlayer.wrappers.openai import OpenAIStreaming Support Added
You can now enable streaming directly through Memlayer providers. This enables token-level streaming responses with zero extra setup.
Usage:
# Enable streaming by passing stream=True
OpenAI(...).chat(prompt, stream=True)Faster, Safer Imports
The package now loads without pulling in heavy dependencies immediately. This results in:
- Significantly faster startup times.
- Reduced risk of circular dependency errors during initialization.