Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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

.NETUsage: [Issues, PRs], Target: .NetagentsUsage: [Issues, PRs], Target: Single agentbugUsage: [Issues], Target: all issues (Legacy, prefer issue type: bug)

Type

Fields

No fields configured for Bug.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions