anthropics / anthropics/anthropic-sdk-python
x-stainless-timeout header is NOT_GIVEN on default requests
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 3.9k
- Forks
- 853
- Ø Merge
- 1 T. 18 Std.
- Gemergte PRs (30 T.)
- 11
Beschreibung
When `options.timeout` is `NotGiven`, `_build_headers()` sets `x-stainless-timeout` to the string `"NOT_GIVEN"` via `str(options.timeout)`, while `x-stainless-read-timeout` correctly falls back to the client default.
Proof after fix:
```
PASS x-stainless-timeout= 600
```
PR incoming.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.