forked from phoenix/litellm-mirror
fix - vertex ai exception mapping
This commit is contained in:
parent
761df07089
commit
366fc5e40b
1 changed files with 5 additions and 5 deletions
|
@ -9165,7 +9165,7 @@ def exception_type(
|
||||||
model=model,
|
model=model,
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
response=httpx.Response(
|
response=httpx.Response(
|
||||||
status_code=429,
|
status_code=400,
|
||||||
request=httpx.Request(
|
request=httpx.Request(
|
||||||
method="POST",
|
method="POST",
|
||||||
url=" https://cloud.google.com/vertex-ai/",
|
url=" https://cloud.google.com/vertex-ai/",
|
||||||
|
@ -9196,7 +9196,7 @@ def exception_type(
|
||||||
model=model,
|
model=model,
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
response=httpx.Response(
|
response=httpx.Response(
|
||||||
status_code=429,
|
status_code=403,
|
||||||
request=httpx.Request(
|
request=httpx.Request(
|
||||||
method="POST",
|
method="POST",
|
||||||
url=" https://cloud.google.com/vertex-ai/",
|
url=" https://cloud.google.com/vertex-ai/",
|
||||||
|
@ -9212,7 +9212,7 @@ def exception_type(
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
litellm_debug_info=extra_information,
|
litellm_debug_info=extra_information,
|
||||||
response=httpx.Response(
|
response=httpx.Response(
|
||||||
status_code=429,
|
status_code=422,
|
||||||
request=httpx.Request(
|
request=httpx.Request(
|
||||||
method="POST",
|
method="POST",
|
||||||
url=" https://cloud.google.com/vertex-ai/",
|
url=" https://cloud.google.com/vertex-ai/",
|
||||||
|
@ -9249,10 +9249,10 @@ def exception_type(
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
litellm_debug_info=extra_information,
|
litellm_debug_info=extra_information,
|
||||||
response=httpx.Response(
|
response=httpx.Response(
|
||||||
status_code=429,
|
status_code=400,
|
||||||
request=httpx.Request(
|
request=httpx.Request(
|
||||||
method="POST",
|
method="POST",
|
||||||
url=" https://cloud.google.com/vertex-ai/",
|
url="https://cloud.google.com/vertex-ai/",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue