mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
57d09afe04
* Added context provider abstractions * Added mem0 implementation * Example and small fixes * Added unit tests for agent * Added unit tests for mem0 provider * Updated README * Small doc updates * Update python/packages/mem0/agent_framework_mem0/_provider.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Small fixes in tests * Renaming based on PR feedback * Small fixes * Added tests for AggregateContextProvider * Small improvements * More improvements based on PR feedback * Small constant update * Added more examples * Added README for Mem0 examples * Small updates to API * Updated initialization logic * Updates for context manager * Updated Context class * Dependency update * Revert changes * Fixed tests --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Chris <66376200+crickman@users.noreply.github.com>
29 lines
595 B
Python
29 lines
595 B
Python
# Copyright (c) Microsoft. All rights reserved.
|
|
|
|
|
|
def test_self_through_main() -> None:
|
|
try:
|
|
from agent_framework.mem0 import __version__
|
|
except ImportError:
|
|
__version__ = None
|
|
|
|
assert __version__ is not None
|
|
|
|
|
|
def test_self() -> None:
|
|
try:
|
|
from agent_framework_mem0 import __version__
|
|
except ImportError:
|
|
__version__ = None
|
|
|
|
assert __version__ is not None
|
|
|
|
|
|
def test_agent_framework() -> None:
|
|
try:
|
|
from agent_framework import __version__
|
|
except ImportError:
|
|
__version__ = None
|
|
|
|
assert __version__ is not None
|