forked from phoenix/litellm-mirror
fix test
This commit is contained in:
parent
1e8cf9f2a6
commit
d7afeee71c
1 changed files with 4 additions and 1 deletions
|
@ -1293,7 +1293,10 @@ class VertexLLM(BaseLLM):
|
||||||
_async_client_params = {}
|
_async_client_params = {}
|
||||||
if timeout:
|
if timeout:
|
||||||
_async_client_params["timeout"] = timeout
|
_async_client_params["timeout"] = timeout
|
||||||
|
if client is None or not isinstance(client, AsyncHTTPHandler):
|
||||||
client = _get_async_httpx_client(params=_async_client_params)
|
client = _get_async_httpx_client(params=_async_client_params)
|
||||||
|
else:
|
||||||
|
client = client # type: ignore
|
||||||
## LOGGING
|
## LOGGING
|
||||||
logging_obj.pre_call(
|
logging_obj.pre_call(
|
||||||
input=messages,
|
input=messages,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue