anthropics / anthropics/anthropic-sdk-python
x-stainless-timeout header is NOT_GIVEN on default requests
Aperta
- Lingua principale
- Python
- Stelle
- 3.9k
- Fork
- 853
- Merge medio
- 1g 18h
- PR unite (30g)
- 11
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.