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
|
|
@ -557,6 +557,7 @@ pub async fn run(
|
|||
agent.observer.record_event(&ObserverEvent::AgentEnd {
|
||||
duration: start.elapsed(),
|
||||
tokens_used: None,
|
||||
cost_usd: None,
|
||||
});
|
||||
|
||||
Ok(())
|
||||
|
|
|
|||
|
|
@ -1048,6 +1048,7 @@ pub async fn run(
|
|||
observer.record_event(&ObserverEvent::AgentEnd {
|
||||
duration,
|
||||
tokens_used: None,
|
||||
cost_usd: None,
|
||||
});
|
||||
|
||||
Ok(final_output)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue