This commit is contained in:
Timothy J. Baek 2024-04-21 01:47:35 -05:00
parent 3c382d4c6c
commit a59fb6b9eb

View file

@ -154,7 +154,7 @@ async def get_models(user=Depends(get_current_user)):
async def proxy(path: str, request: Request, user=Depends(get_verified_user)): async def proxy(path: str, request: Request, user=Depends(get_verified_user)):
body = await request.body() body = await request.body()
url = "http://localhost:4000/v1" url = "http://localhost:4000"
target_url = f"{url}/{path}" target_url = f"{url}/{path}"