From ddd45ce0a04daedb7e5443c53f8c14daf2130be8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Thu, 15 Aug 2024 21:47:00 +0800 Subject: [PATCH] feat: -req --- examples/exp_pool/init_exp_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/exp_pool/init_exp_pool.py b/examples/exp_pool/init_exp_pool.py index 42edd9637..321c38d78 100644 --- a/examples/exp_pool/init_exp_pool.py +++ b/examples/exp_pool/init_exp_pool.py @@ -48,7 +48,7 @@ async def add_exp(req: str, resp: str, tag: str, metric: Metric = None): exp_manager = get_exp_manager() exp_manager.config.exp_pool.enable_write = True exp_manager.create_exp(exp) - logger.info(f"New experience created for the request `{req[:10] if len(req) > 10 else req}`.") + logger.info(f"New experience created for the request `{req[:10]}`.") async def add_exps(exps: list, tag: str):