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 还没有评估数据。