Lesson 4 - Agentic Search Tools

When I run using checkpointer

for event in abot.graph.stream({“messages”: messages}, thread):
for v in event.values():
print(v[‘messages’])

I get the following error (image also attached):

AttributeError: ‘_GeneratorContextManager’ object has no attribute ‘get_next_version’

The error occurs at this specific line:

for event in abot.graph.stream({“messages”: messages}, thread):