mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
feat(pass_through_endpoint.py): cleanup error message + validate it works across multiple instances
This commit is contained in:
parent
b4fc7d3cfa
commit
032a213b9b
1 changed files with 1 additions and 1 deletions
|
|
@ -991,7 +991,7 @@ def create_pass_through_route(
|
|||
):
|
||||
raise HTTPException(
|
||||
status_code=404,
|
||||
detail=f"Pass-through endpoint {target} not found. This could have been deleted or not yet added to the proxy.",
|
||||
detail=f"Pass-through endpoint {endpoint} not found. This could have been deleted or not yet added to the proxy.",
|
||||
)
|
||||
|
||||
return await pass_through_request( # type: ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue