zeta: Extract usage information from response headers (#28999)

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

For now we just log the information, but we'll need to figure out where
this needs to get threaded through to in order to display it in the UI.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-04-17 15:07:40 -04:00 committed by GitHub
parent 8660101b83
commit be63d51eb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 48 additions and 9 deletions

View file

@ -604,7 +604,7 @@ wasmtime-wasi = "29"
which = "6.0.0"
wit-component = "0.221"
workspace-hack = "0.1.0"
zed_llm_client = "0.5.1"
zed_llm_client = "0.6.0"
zstd = "0.11"
metal = "0.29"