Fix custom Memory Stores LRO poller operation#45662
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes the Memory Stores long-running update operation by ensuring the required Foundry-Features: MemoryStores=V1Preview opt-in header is included on LRO polling requests (sync + async), and bumps the package version/changelog accordingly.
Changes:
- Add the
Foundry-Featuresheader to the custom Memory Stores LRO polling method instantiation (sync and async). - Bump
azure-ai-projectsversion to2.0.1. - Add a
2.0.1changelog entry documenting the bug fix.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| sdk/ai/azure-ai-projects/azure/ai/projects/operations/_patch_memories.py | Adds required Foundry-Features header to sync LRO polling method for Memory Stores updates. |
| sdk/ai/azure-ai-projects/azure/ai/projects/aio/operations/_patch_memories_async.py | Adds required Foundry-Features header to async LRO polling method for Memory Stores updates. |
| sdk/ai/azure-ai-projects/azure/ai/projects/_version.py | Bumps library version to 2.0.1. |
| sdk/ai/azure-ai-projects/CHANGELOG.md | Documents the bug fix in the 2.0.1 release notes. |
You can also share your feedback on Copilot code review. Take the survey.
harrysummer
approved these changes
Mar 12, 2026
trrwilson
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validated by running all sync and async Memory Stores samples (/samples/memories), to make sure there are no errors, and view logs to see that the appropriate HTTP request header is now present.
We will add automated tests in our feature branch for the following release.