mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
test(http): restore cached client state
Signed-off-by: amarrtech <272048731+amarrtech@users.noreply.github.com>
This commit is contained in:
parent
27193c9460
commit
44838201ce
1 changed files with 1 additions and 1 deletions
|
|
@ -746,7 +746,7 @@ class TestDefaultCachedClientTimeoutHonorsRequestTimeout:
|
|||
|
||||
monkeypatch.setattr(litellm, "request_timeout", 300)
|
||||
monkeypatch.setattr(litellm, "request_timeout_explicitly_set", True)
|
||||
litellm.in_memory_llm_clients_cache = LLMClientCache()
|
||||
monkeypatch.setattr(litellm, "in_memory_llm_clients_cache", LLMClientCache())
|
||||
|
||||
client = _get_httpx_client(params={"timeout": None})
|
||||
request = client.client.build_request("GET", "https://example.com")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue