Skip to content

[BUG] PersistentThreadMessage.AssistantId #53361

@Zander-Conradie

Description

@Zander-Conradie

Library name and version

1.1.0.0

Describe the bug

PersistentThreadMessage object should rename AssistantId property to AgentId.

Image

Expected behavior

PersistentThreadMessage.AgentId

Actual behavior

PersistentThreadMessage.AssistantId

Reproduction Steps

await foreach (var threadMessage in _persistentAgentsClient.Messages.GetMessagesAsync(chatFileIdentifier.AgentThreadId, order: ListSortOrder.Descending))
{
    foreach (var attachment in threadMessage.Attachments)
    {
        if (attachment.FileId == chatFileIdentifier.FileId && threadMessage.AssistantId == chatFileIdentifier.AgentId)
        {

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI AgentsClientThis issue is related to a non-management packageService AttentionWorkflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions