forked from open-webui/open-webui
fix
This commit is contained in:
parent
3c382d4c6c
commit
a59fb6b9eb
1 changed files with 1 additions and 1 deletions
|
@ -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}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue