Skip to content

Commit 1aabd76

Browse files
bojunehsudargilco
andauthored
Explicitly specify update_delay to workaround temp service bug. (#44051)
Co-authored-by: Darren Cohen <[email protected]>
1 parent cefece2 commit 1aabd76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/ai/azure-ai-projects/samples/memories/sample_memory_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
name=memory_store.name,
9393
scope=scope,
9494
items=[user_message], # Pass conversation items that you want to add to memory
95-
# update_delay=300 # Keep default inactivity delay before starting update
95+
update_delay=300 # Keep default inactivity delay before starting update
9696
)
9797
print(f"Scheduled memory update operation (Update ID: {update_poller.update_id}, Status: {update_poller.status()})")
9898

sdk/ai/azure-ai-projects/samples/memories/sample_memory_advanced_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ async def main() -> None:
9696
name=memory_store.name,
9797
scope=scope,
9898
items=[user_message], # Pass conversation items that you want to add to memory
99-
# update_delay=300 # Keep default inactivity delay before starting update
99+
update_delay=300 # Keep default inactivity delay before starting update
100100
)
101101
print(
102102
f"Scheduled memory update operation (Update ID: {update_poller.update_id}, Status: {update_poller.status()})"

0 commit comments

Comments
 (0)