agent: Remove unneeded tracking of request usage (#29894)
This PR removes some unneeded tracking of the model request usage in the `ActiveThread` and `ThreadEvent::UsageUpdated` events. Release Notes: - N/A
This commit is contained in:
parent
fe177f5d69
commit
3db4744e18
4 changed files with 4 additions and 18 deletions
|
@ -1366,7 +1366,6 @@ impl AgentDiff {
|
|||
}
|
||||
// intentionally being exhaustive in case we add a variant we should handle
|
||||
ThreadEvent::Stopped(Ok(StopReason::ToolUse))
|
||||
| ThreadEvent::UsageUpdated(_)
|
||||
| ThreadEvent::StreamedCompletion
|
||||
| ThreadEvent::ReceivedTextChunk
|
||||
| ThreadEvent::StreamedAssistantText(_, _)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue