feat(observability): propagate optional cost_usd on agent end
This commit is contained in:
parent
52a4c9d2b8
commit
8371f412f8
6 changed files with 15 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ pub enum ObserverEvent {
|
|||
AgentEnd {
|
||||
duration: Duration,
|
||||
tokens_used: Option<u64>,
|
||||
cost_usd: Option<f64>,
|
||||
},
|
||||
/// A tool call is about to be executed.
|
||||
ToolCallStart {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue