mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-04-07 08:25:23 +02:00
feat: Adding simple reranker for rag_api.
This commit is contained in:
parent
c5113a75a0
commit
11e0cf3118
7 changed files with 12 additions and 2 deletions
|
|
@ -120,7 +120,8 @@ export async function loadWebSearchAuth({
|
|||
}
|
||||
}
|
||||
|
||||
if (requiredKeys.length === 0) continue;
|
||||
const simpleReRankerChosen = specificService && service === 'simple';
|
||||
if (!simpleReRankerChosen && requiredKeys.length === 0) continue;
|
||||
|
||||
const requiredAuthFields = extractWebSearchEnvVars({
|
||||
keys: requiredKeys,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue