Skip to content

Commit 99f60bb

Browse files
authored
Remove duplicate API endpoint (#2949)
1 parent 8163cb2 commit 99f60bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fastchat/serve/openai_api_server.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ async def show_available_models():
375375
return ModelList(data=model_cards)
376376

377377

378-
@app.post("/v1chat/completions", dependencies=[Depends(check_api_key)])
379378
@app.post("/v1/chat/completions", dependencies=[Depends(check_api_key)])
380379
async def create_chat_completion(request: ChatCompletionRequest):
381380
"""Creates a completion for the chat message"""

0 commit comments

Comments
 (0)