Skip to content

chore: update mem0ai dependency constraints and enhance async memory resolution#40

Merged
beersoccer merged 2 commits intomainfrom
feature/memory-lifecycle-cleanup
Apr 14, 2026
Merged

chore: update mem0ai dependency constraints and enhance async memory resolution#40
beersoccer merged 2 commits intomainfrom
feature/memory-lifecycle-cleanup

Conversation

@beersoccer
Copy link
Copy Markdown
Owner

This commit modifies the dependency constraints for mem0ai in both pyproject.toml and requirements.txt to specify a version range of >=1.0.2,<=1.0.11. Additionally, it introduces a new helper function, _resolve_async_memory_from_config, to support both old and new semantics of AsyncMemory.from_config, ensuring compatibility with different versions of the library. The async memory initialization in AsyncMem0Client has been updated to utilize this new function.

龚震宇 added 2 commits April 14, 2026 20:49
…resolution

This commit modifies the dependency constraints for `mem0ai` in both `pyproject.toml` and `requirements.txt` to specify a version range of `>=1.0.2,<=1.0.11`. Additionally, it introduces a new helper function, `_resolve_async_memory_from_config`, to support both old and new semantics of `AsyncMemory.from_config`, ensuring compatibility with different versions of the library. The async memory initialization in `AsyncMem0Client` has been updated to utilize this new function.
This commit enhances the readability of the `test_mem0_provider_validation.py` file by adjusting the formatting of the `monkeypatch.setattr` call for `run_coroutine_threadsafe`. The change improves code clarity without altering functionality.
@beersoccer beersoccer merged commit fc198b8 into main Apr 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant