I’m using a Team with three agents. I want to provide query history as context, so I’m using it as follows. When I receive a response to the first question and immediately ask the second question, the first question isn’t inserted into the context. I have to wait a bit (over 30 sec.) before asking the second question for it to work as intended. It seems like I need to wait for the time it takes to save to the database. Could I have misconfigured something? Or is this an Agno issue?
db = RedisDb(db_url=“…”)
Team(
…
determine_input_for_members=False,
respond_directly=True,
description=description,
instructions=instructions,
add_datetime_to_context=True,
share_member_interactions=True,
show_members_responses=True,
markdown=True,
enable_user_memories=True,
add_history_to_context=True,
db=db,
debug_mode=True,
)
All Agents have enable_user_memories=True, add_history_to_context=True, db=db, also.
And I’m using team.arun method.
Agno version : v2.0.8