Skip to content

.NET: [Bug]: Debugger visualizer for AIAgent throws an error #3253

@marcominerva

Description

@marcominerva

Description

I have added an AIAgent to the HostBuilder:

builder.Services.AddAIAgent("Default", "You are a helpful assistant");

When I enter debug mode and hover the mouse over an AIAgent variable, the Debugger visualizer for the AIAgent class shows the error CS0103: The name 'DisplayName' does not exist in the current context:

Image

Package Versions

Microsoft.Agents.AI.Hosting: 1.0.0-preview.260108.1, Microsoft.Agents.AI.OpenAI: 1.0.0-preview.260108.1

.NET Version

.NET 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions