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=}')