anthropics / anthropics/anthropic-sdk-python
x-stainless-timeout header is NOT_GIVEN on default requests
Đang mở
- Ngôn ngữ chính
- Python
- Star
- 3.9k
- Fork
- 853
- Merge trung bình
- 1 ngày 18 giờ
- Pull request đã merge (30 ngày)
- 11
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.