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 4f83487 commit fc9ac15Copy full SHA for fc9ac15
tests/test_module_client.py
@@ -76,12 +76,12 @@ def test_default_query_option() -> None:
76
77
78
def test_http_client_option() -> None:
79
- assert openai.http_client is None
+ assert replicate.http_client is None
80
81
- original_http_client = openai.completions._client._client
+ original_http_client = replicate.collections._client._client
82
assert original_http_client is not None
83
84
new_client = httpx.Client()
85
- openai.http_client = new_client
+ replicate.http_client = new_client
86
87
- assert openai.completions._client._client is new_client
+ assert replicate.collections._client._client is new_client
0 commit comments