mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
build(litellm_server/main.py): accomodate forward slash in azure url
This commit is contained in:
parent
9eb53acd8e
commit
6fdca38442
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ async def embedding(request: Request):
|
|||
|
||||
@router.post("/v1/chat/completions")
|
||||
@router.post("/chat/completions")
|
||||
@router.post("/openai/deployments/{model}/chat/completions") # azure compatible endpoint
|
||||
@router.post("/openai/deployments/{model:path}/chat/completions") # azure compatible endpoint
|
||||
async def chat_completion(request: Request, model: Optional[str] = None):
|
||||
global llm_model_list
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue