Skip to content

[Feat]: allow async extended card modifier #647

@cbugwadia32

Description

@cbugwadia32

Is your feature request related to a problem? Please describe.

We'd like to be able to modify the authenticated agent card based on data we fetch via an HTTP request. That request uses async, so right now we are unable to use an extended agent card modifier to do the job (since we'd need to block on the async call and thus block the entire server).

Describe the solution you'd like

extended_card_modifier should be an async method, and inside of handle_authenticated_agent_card it should be called with await. This way we can make async calls inside of the extended card modifier.

Describe alternatives you've considered

Our alternative is to extend the application class and the adapter class so that we have a custom adapter and implementation of the handle_authenticated_agent_card method. This is quite cumbersome and not very future proof.

Additional context

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

component: serverIssues related to frameworks for agent execution, HTTP/event handling, database persistence logic.status: needs review

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions