mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-23 15:37:50 +01:00
oops, bug
This commit is contained in:
parent
71344720d2
commit
91a688ee7f
@ -149,6 +149,8 @@ async function queryCollection(collectionId, source, sourceSettings, searchText,
|
||||
* @returns {object} - An object that can be used as `sourceSettings` in functions that take that parameter.
|
||||
*/
|
||||
function extractSourceSettings(request) {
|
||||
const source = String(req.body.source) || 'transformers';
|
||||
|
||||
// Extras API settings to connect to the Extras embeddings provider
|
||||
let extrasUrl = '';
|
||||
let extrasKey = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user