Skip to content

Memlayer v0.1.6 - Plug and Play Memory for LLMs

Choose a tag to compare

@divagr18 divagr18 released this 22 Nov 00:49
· 10 commits to main since this release

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 OpenAI

Streaming 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.