mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(proxy_server.py): make completion call handle "v1" in endpoint url
This commit is contained in:
parent
296f7f5b76
commit
e162a9855b
2 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ def model_list():
|
|||
object="list",
|
||||
)
|
||||
|
||||
@app.post("/completions")
|
||||
@app.post("/{version}/completions")
|
||||
async def completion(request: Request):
|
||||
data = await request.json()
|
||||
print_verbose(f"data passed in: {data}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue