forked from phoenix/litellm-mirror
Update main.py
This commit is contained in:
parent
cc1ea6e3c8
commit
9888d91888
1 changed files with 0 additions and 1 deletions
|
@ -58,7 +58,6 @@ async def completion(request: Request):
|
||||||
@router.post("/v1/chat/completions")
|
@router.post("/v1/chat/completions")
|
||||||
@router.post("/chat/completions")
|
@router.post("/chat/completions")
|
||||||
async def chat_completion(request: Request):
|
async def chat_completion(request: Request):
|
||||||
litellm.set_verbose=True
|
|
||||||
data = await request.json()
|
data = await request.json()
|
||||||
|
|
||||||
api_key = request.headers.get("authorization")
|
api_key = request.headers.get("authorization")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue