feat(observability): propagate optional cost_usd on agent end

This commit is contained in:
Chummy 2026-02-17 17:57:34 +08:00
parent 52a4c9d2b8
commit 8371f412f8
6 changed files with 15 additions and 1 deletions

View file

@ -557,6 +557,7 @@ pub async fn run(
agent.observer.record_event(&ObserverEvent::AgentEnd {
duration: start.elapsed(),
tokens_used: None,
cost_usd: None,
});
Ok(())