Skip to content

Commit

Permalink
ci: remove PR title linter (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Dec 6, 2023
1 parent 998105c commit 2761e37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/lint-pr.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ client.with_options(max_retries=5).completions.create(

### Timeouts

By default requests time out after 1 minute. You can configure this with a `timeout` option,
By default requests time out after 10 minutes. You can configure this with a `timeout` option,
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:

```python
Expand Down
4 changes: 2 additions & 2 deletions src/anthropic_bedrock/_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
RAW_RESPONSE_HEADER = "X-Stainless-Raw-Response"
STREAMED_RAW_RESPONSE_HEADER = "X-Stainless-Streamed-Raw-Response"

# default timeout is 1 minute
DEFAULT_TIMEOUT = httpx.Timeout(timeout=60.0, connect=5.0)
# default timeout is 10 minutes
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600.0, connect=5.0)
DEFAULT_MAX_RETRIES = 2
DEFAULT_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)

Expand Down

0 comments on commit 2761e37

Please sign in to comment.