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.
1 parent 7cc0c31 commit d338f03Copy full SHA for d338f03
docs/sessions.md
@@ -168,7 +168,7 @@ result2 = await Runner.run(
168
169
You can implement your own session memory by creating a class that follows the [`Session`][agents.memory.session.Session] protocol:
170
171
-````python
+```python
172
from agents.memory import Session
173
from typing import List
174
@@ -206,6 +206,7 @@ result = await Runner.run(
206
"Hello",
207
session=MyCustomSession("my_session")
208
)
209
+```
210
211
## Session management
212
@@ -245,7 +246,7 @@ result2 = await Runner.run(
245
246
"What are my charges?",
247
session=session
248
-````
249
250
251
## Complete example
252
0 commit comments