# agent: Extract usage information from response headers \(\#29002\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d93141bdedd4967637dd49bad224a0c8162560f1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d93141bdedd4967637dd49bad224a0c8162560f1

Requested commit: d93141bdedd4967637dd49bad224a0c8162560f1

Commit: d93141bdedd4967637dd49bad224a0c8162560f1

Tree: 2fbdbf454b0d3e6dfe0847fc1bc8b9e65a4e7b8a

Author: Marshall Bowers

Committer: GitHub

## Message

```
agent: Extract usage information from response headers (#29002)

This PR updates the Agent to extract the usage information from the
response headers, if they are present.

For now we just log the information, but we'll be using this soon to
populate some UI.

Release Notes:

- N/A
```

## Parents

- [b402007de601531d4286b1327fc5e0041b6e8a82](https://git.cafe/gitcafe/zed/commit/b402007de601531d4286b1327fc5e0041b6e8a82?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d93141bdedd4967637dd49bad224a0c8162560f1?format=markdown)
