From dd304972b549fd829391a724f7798832142c66e1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 30 Jun 2026 16:00:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=80=E6=9C=89v1=E7=AB=AF=E7=82=B9?= =?UTF-8?q?=E8=A1=A5=E5=85=85params=5Fkw.llmcatelogid,=E7=A1=AE=E4=BF=9Dll?= =?UTF-8?q?mclient=E6=AD=A3=E7=A1=AE=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/v1/audio/speech/index.dspy | 1 + wwwroot/v1/audio/transcriptions/index.dspy | 1 + wwwroot/v1/chat/completions/index.dspy | 1 + wwwroot/v1/image/generations/index.dspy | 1 + wwwroot/v1/music/generations/index.dspy | 1 + 5 files changed, 5 insertions(+) diff --git a/wwwroot/v1/audio/speech/index.dspy b/wwwroot/v1/audio/speech/index.dspy index 6e528c3..d68ee1f 100644 --- a/wwwroot/v1/audio/speech/index.dspy +++ b/wwwroot/v1/audio/speech/index.dspy @@ -57,6 +57,7 @@ where (b.id = ${lctype}$ OR b.name = ${lctype}$) debug(f'{params_kw.model=} not found for catalog {lctype}') return openai_400() params_kw.llmid = recs[0].id + params_kw.llmcatelogid = lctype debug(f'{params_kw.llmid=}') diff --git a/wwwroot/v1/audio/transcriptions/index.dspy b/wwwroot/v1/audio/transcriptions/index.dspy index 787b473..793e571 100644 --- a/wwwroot/v1/audio/transcriptions/index.dspy +++ b/wwwroot/v1/audio/transcriptions/index.dspy @@ -54,6 +54,7 @@ where (b.id = ${lctype}$ OR b.name = ${lctype}$) debug(f'{params_kw.model=} not found for catalog {lctype}') return openai_400() params_kw.llmid = recs[0].id + params_kw.llmcatelogid = lctype debug(f'{params_kw.llmid=}') diff --git a/wwwroot/v1/chat/completions/index.dspy b/wwwroot/v1/chat/completions/index.dspy index dda731b..1856a15 100644 --- a/wwwroot/v1/chat/completions/index.dspy +++ b/wwwroot/v1/chat/completions/index.dspy @@ -44,6 +44,7 @@ where (b.id = ${catelogid}$ OR b.name = ${catelogid}$) debug(f'{params_kw.model=} not found') return openai_400() params_kw.llmid = recs[0].id + params_kw.llmcatelogid = catelogid debug(f'{params_kw.llmid=}') f = await checkCustomerBalance(params_kw.llmid, userid, userorgid) diff --git a/wwwroot/v1/image/generations/index.dspy b/wwwroot/v1/image/generations/index.dspy index 08fe83b..0f56890 100644 --- a/wwwroot/v1/image/generations/index.dspy +++ b/wwwroot/v1/image/generations/index.dspy @@ -63,6 +63,7 @@ where (b.id = ${lctype}$ OR b.name = ${lctype}$) debug(f'{params_kw.model=} not found for catalog {lctype}') return openai_400() params_kw.llmid = recs[0].id + params_kw.llmcatelogid = lctype debug(f'{params_kw.llmid=}') diff --git a/wwwroot/v1/music/generations/index.dspy b/wwwroot/v1/music/generations/index.dspy index 1bf5e24..d7ac2e2 100644 --- a/wwwroot/v1/music/generations/index.dspy +++ b/wwwroot/v1/music/generations/index.dspy @@ -63,6 +63,7 @@ where (b.id = ${lctype}$ OR b.name = ${lctype}$) debug(f'{params_kw.model=} not found for catalog {lctype}') return openai_400() params_kw.llmid = recs[0].id + params_kw.llmcatelogid = lctype debug(f'{params_kw.llmid=}')