We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eac37d commit 84874c0Copy full SHA for 84874c0
4.0.0-5.0.0-migration-guide.md
@@ -26,6 +26,15 @@ for event in stream:
26
print(event.text, end='')
27
```
28
29
+### Migrating deprecated `num_workers` Client constructor parameter
30
+
31
+The Client constructor accepts an `httpx_client` which can be configured to limit the maximum number of connections.
32
33
+```python
34
+limits = httpx.Limits(max_connections=10)
35
+cohere.Client(httpx_client=httpx.Client(limits=limits))
36
+```
37
38
### Removed functionality (subject to change)
39
40
The following lists name the functions that are not in the new SDK and what their ongoing support status is.
0 commit comments