MCPcopy Index your code
hub / github.com/openai/openai-agents-python / mongodb_session_example.py

File mongodb_session_example.py

examples/memory/mongodb_session_example.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Example demonstrating MongoDB session memory with a shared AsyncMongoClient.
3
4In production you should create one AsyncMongoClient and pass it to all sessions

Callers

nothing calls this directly

Calls 2

mainFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected