fix: rerank model cannot use ai proxy (#3945)

* fix: collection list count

* fix: collection list count

* fix: rerank model cannot use ai proxy

* mongo init
This commit is contained in:
Archer
2025-03-03 11:49:35 +08:00
committed by GitHub
parent 4bc7f21182
commit efac5312b4
8 changed files with 43 additions and 7 deletions

View File

@@ -152,6 +152,7 @@ export const putChannel = (data: ChannelInfoType) =>
export const deleteChannel = (id: number) => DELETE(`/channel/${id}`);
export const getChannelLog = (params: {
request_id?: string;
channel?: string;
model_name?: string;
code_type?: 'all' | 'success' | 'error';
@@ -164,6 +165,7 @@ export const getChannelLog = (params: {
logs: ChannelLogListItemType[];
total: number;
}>(`/logs/search`, {
request_id: params.request_id,
channel: params.channel,
model_name: params.model_name,
code_type: params.code_type,