mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 04:06:18 +00:00
fix rerank model undefined (#4674)
This commit is contained in:
@@ -177,7 +177,7 @@ export async function dispatchDatasetSearch(
|
||||
});
|
||||
// Rerank
|
||||
const { totalPoints: reRankTotalPoints, modelName: reRankModelName } = formatModelChars2Points({
|
||||
model: rerankModelData.model,
|
||||
model: rerankModelData?.model,
|
||||
inputTokens: reRankInputTokens,
|
||||
modelType: ModelTypeEnum.rerank
|
||||
});
|
||||
|
Reference in New Issue
Block a user