anthropics / anthropics/anthropic-sdk-python
x-stainless-timeout header is NOT_GIVEN on default requests
未關閉
- 主要語言
- Python
- 星號
- 3.9k
- 分支
- 853
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 11
描述
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.
貢獻指南
評估
這個 Issue 還沒有評估資料。