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

Labels

.NETagentsIssues related to single agentsbugSomething isn't workingv1.0Features being tracked for the version 1.0 GA

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions