Skip to content

Commit af6c0f1

Browse files
committed
fix: make wrapper kw-only in async_sqlite_session per seratch feedback
1 parent e26c2e3 commit af6c0f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/agents/extensions/memory/async_sqlite_session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ async def _locked_connection(self) -> AsyncIterator[aiosqlite.Connection]:
106106
async def get_items(
107107
self,
108108
limit: int | None = None,
109+
*,
109110
wrapper: RunContextWrapper[Any] | None = None,
110111
) -> list[TResponseInputItem]:
111112
"""Retrieve the conversation history for this session.
@@ -158,6 +159,7 @@ async def get_items(
158159
async def add_items(
159160
self,
160161
items: list[TResponseInputItem],
162+
*,
161163
wrapper: RunContextWrapper[Any] | None = None,
162164
) -> None:
163165
"""Add new items to the conversation history.

0 commit comments

Comments
 (0)