forked from phoenix/litellm-mirror
fix allow using vertex_ai as the primary way for pass through vertex endpoints
This commit is contained in:
parent
27848e8ed2
commit
5baf33bf8f
1 changed files with 6 additions and 1 deletions
|
@ -113,7 +113,12 @@ def construct_target_url(
|
|||
|
||||
|
||||
@router.api_route(
|
||||
"/vertex-ai/{endpoint:path}", methods=["GET", "POST", "PUT", "DELETE"]
|
||||
"/vertex-ai/{endpoint:path}",
|
||||
methods=["GET", "POST", "PUT", "DELETE"],
|
||||
include_in_schema=False,
|
||||
)
|
||||
@router.api_route(
|
||||
"/vertex_ai/{endpoint:path}", methods=["GET", "POST", "PUT", "DELETE"]
|
||||
)
|
||||
async def vertex_proxy_route(
|
||||
endpoint: str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue