Add memory run snippet tag for docs extraction (#3921)

This commit is contained in:
Eduard van Valkenburg
2026-02-13 14:56:19 +01:00
committed by GitHub
Unverified
parent f3ea872156
commit a39fd69f76
@@ -78,6 +78,7 @@ async def main() -> None:
)
# </create_agent>
# <run_with_memory>
session = agent.create_session()
# The provider doesn't know the user yet — it will ask for a name
@@ -93,6 +94,7 @@ async def main() -> None:
print(f"Agent: {result}\n")
print(f"[Memory] Stored user name: {memory.user_name}")
# </run_with_memory>
if __name__ == "__main__":