From fd95eadfe6399ca00bfd315847b55754eeae87ef Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 6 Jul 2026 15:57:25 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20v1/pricing=E7=AB=AF=E7=82=B9=E4=B9=9F?= =?UTF-8?q?=E5=8A=A0model=E8=BF=87=E6=BB=A4=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E5=90=8Cppid=E4=B8=8B=E4=B8=B2=E6=A8=A1=E5=9E=8B=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/v1/pricing/index.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wwwroot/v1/pricing/index.dspy b/wwwroot/v1/pricing/index.dspy index e543a42..7b6e5ce 100644 --- a/wwwroot/v1/pricing/index.dspy +++ b/wwwroot/v1/pricing/index.dspy @@ -27,7 +27,7 @@ try: return json.dumps({"status": "error", "message": f"model '{model}' not found or has no pricing"}, ensure_ascii=False) ppid = recs[0].ppid - result = await env.get_pricing_display(ppid) + result = await env.get_pricing_display(ppid, model=model) return json.dumps({"status": "ok", "data": result}, ensure_ascii=False, default=str) except Exception as e: exception(f'get pricing for {model} failed: {e}\n{format_exc()}')