strands-agents/sdk-python

[FEATURE] Add Agent latest_usage and latest_metrics besides `accumulated_usage` and `accumulated_metrics`

Opened this issue · 0 comments

Problem Statement

I would like Strands to display current usage and metrics of the current invocation. Users now have to calculate the current usages and metrics by themselves from the accumulated_usages and metrics.

Proposed Solution

No response

Use Case

This can help understand the current token usages and metrics such as latency besides the accumulated one.

Alternatives Solutions

No response

Additional Context

No response