-
Notifications
You must be signed in to change notification settings - Fork 5k
Open
Labels
AI AgentsClientThis issue is related to a non-management packageThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.Workflow: The Azure SDK team believes it to be addressed and ready to close.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Description
Library name and version
Azure.AI.Agents.Persistent 1.1.0-beta.4
Describe the bug
Azure.AI.Agents.Persistent.ThreadMessages.GetMessagesAsync ignores "after" parameter, this makes it impossible to skip messages during pagination.
azure-sdk-for-net/sdk/ai/Azure.AI.Agents.Persistent/src/Custom/ThreadMessages.cs
Line 335 in 3e92e8c
public virtual AsyncPageable<PersistentThreadMessage> GetMessagesAsync(string threadId, string runId = null, int? limit = null, ListSortOrder? order = null, string after = null, string before = null, CancellationToken cancellationToken = default) |
Expected behavior
"after" parameter is passed correctly to the endpoint
Actual behavior
"after" parameter is ignored
Reproduction Steps
Install the library and try to pass "after" parameter.
Environment
Not important
Metadata
Metadata
Assignees
Labels
AI AgentsClientThis issue is related to a non-management packageThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.Workflow: The Azure SDK team believes it to be addressed and ready to close.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that