From 5d78e054abdf0b67d84e16f0145d7f01790cf494 Mon Sep 17 00:00:00 2001 From: Krish Dholakia Date: Sat, 21 Oct 2023 15:57:36 -0700 Subject: [PATCH] Update main.py --- litellm-proxy/main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/litellm-proxy/main.py b/litellm-proxy/main.py index 1eb8aca4d95..490d62ff635 100644 --- a/litellm-proxy/main.py +++ b/litellm-proxy/main.py @@ -59,13 +59,9 @@ async def completion(request: Request): @router.post("/chat/completions") async def chat_completion(request: Request): litellm.set_verbose=True - print("got chat completion requet") data = await request.json() - print(data) - print(request.headers) api_key = request.headers.get("authorization") - print(api_key) api_key = api_key.split(" ")[1] data["api_key"] = api_key response = litellm.completion( @@ -80,4 +76,4 @@ async def home(request: Request): return "LiteLLM: RUNNING" -app.include_router(router) \ No newline at end of file +app.include_router(router)