tghamm / Anthropic.SDK

An unofficial C#/.NET SDK for accessing the Anthropic Claude API
https://www.nuget.org/packages/Anthropic.SDK
MIT License
55 stars 10 forks source link

Surface response headers in result? #34

Closed pclaar closed 1 month ago

pclaar commented 3 months ago

Is there a way to surface the response headers in the AnthropicClient? See https://docs.anthropic.com/claude/reference/rate-limits for a list of Res

With this we can see what's going on when we hit a rate limit.

tghamm commented 1 month ago

These have now been surfaced in the response from the API in 4.0.0.