a2aproject / a2aproject/a2a-dotnet

Allow For Dynamic Agent Card

Đang mở
#46 2 bình luận 1 reaction 1 người được giao Được giao cho @Copilot Xem trên GitHub
Ngôn ngữ chính
C#
Star
262
Fork
64
Merge trung bình
5 ngày 2 giờ
Pull request đã merge (30 ngày)
31

Mô tả

Given an authenticated client you might want to provide different configuration of the agent card after it has gotten the card that tells it how it authenticates (well known public card)

[Fetching Authenticated Extended Agent Card](https://a2aprotocol.ai/blog/a2a-sample-methods-and-json-responses)

The agent card could be different based upon who is talking

Currently the agent card is obtained via a non async aware method/func delegate. This does not offer any mechanism to customize the card returned if any i/o might be needed for it, unless you cause the current thread to wait, not ideal.

The TaskManager OnAgentCardQuery should instead return Task. This would even make it less clunky in A2AHttpProcessor.GetAgentCard

Additionally I do not see if there is any framework pending for an extended card after authentication. I can implement this my self in my local use of this, but didn't want to go through with it if something was planned.

[Authenticated Extended Card](https://a2aproject.github.io/A2A/latest/specification/#710-agentauthenticatedextendedcard)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.