From 16c9bb2411a58b1bc26ea0b4ac402b9f97ba8762 Mon Sep 17 00:00:00 2001 From: yinpeng <2291314224@qq.com> Date: Sun, 15 Dec 2024 14:24:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A5=E5=BF=97=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E6=B7=BB=E5=8A=A0=E8=AF=B7=E6=B1=82=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E4=BF=A1=E6=81=AF=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/routes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/routes.py b/app/api/routes.py index cbbdf80..36f0a57 100644 --- a/app/api/routes.py +++ b/app/api/routes.py @@ -42,6 +42,7 @@ async def chat_completion( token: str = Depends(security_service.verify_authorization), ): logger.info(f"Handling chat completion request for model: {request.model}") + logger.info(f"Request: \n{request.model_dump_json(indent=2)}") api_key = await key_manager.get_next_working_key() logger.info(f"Using API key: {api_key}") retries = 0