We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 372e88c + 7a4a22f commit 714bd25Copy full SHA for 714bd25
src/agents/extensions/memory/__init__.py
@@ -39,15 +39,15 @@ def __getattr__(name: str) -> Any:
39
"SQLAlchemySession requires the 'sqlalchemy' extra. "
40
"Install it with: pip install openai-agents[sqlalchemy]"
41
) from e
42
+
43
if name == "AdvancedSQLiteSession":
44
try:
45
from .advanced_sqlite_session import AdvancedSQLiteSession # noqa: F401
46
47
return AdvancedSQLiteSession
48
except ModuleNotFoundError as e:
49
raise ImportError(
- "AdvancedSQLiteSession requires the 'aiosqlite' extra. "
50
- "Install it with: pip install openai-agents[aiosqlite]"
+ f"Failed to import AdvancedSQLiteSession: {e}"
51
52
53
raise AttributeError(f"module {__name__} has no attribute {name}")
0 commit comments