From 7b792c03d4e02978464671c515349d1c98356eeb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 20 Jul 2026 19:32:48 +0800 Subject: [PATCH] bugfix --- llmage/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llmage/utils.py b/llmage/utils.py index c7ad639..dd1b5d2 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -332,10 +332,12 @@ async def get_llmcatelogs(): async def get_pricing_text(l): try: + env = ServerEnv() pd = await env.get_pricing_display(l.ppid, model=l.name) if pd: llm.pricing_display = pd.get('display_text', '') - except: + except Exception as e: + debug(f'{e}') pass async def get_llms_by_catelog_to_customer(catelogid=None, orderby='providerid, name'):