generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 461
Open
Labels
area-hooksFeatures or requests that might be implementable via hooksFeatures or requests that might be implementable via hooksenhancementNew feature or requestNew feature or requestready for contributionPull requests welcomePull requests welcome
Description
Problem Statement
For the hook event AfterInvocationEvent, the event instance only gives access to the agent and does not include any helpful information related to the current invocation of the agent. This is counterintuitive given the event name implies it occurs after invocation.
Proposed Solution
Include an AgentResult in the AfterInvocationEvent instance so that various actions can be performed based on the actual result of the agent’s invocation.
Use Case
Agent invocation logs can be enriched with the end result, including usage metrics, traces, and everything the AgentResult contains. This would significantly increase the power and usefulness of this hook event.
Alternatives Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
area-hooksFeatures or requests that might be implementable via hooksFeatures or requests that might be implementable via hooksenhancementNew feature or requestNew feature or requestready for contributionPull requests welcomePull requests welcome