mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Adjsut /api return values
This commit is contained in:
@ -8488,6 +8488,9 @@ async function connectAPISlash(args, text) {
|
||||
|
||||
return key;
|
||||
}
|
||||
|
||||
console.error('FIXME: The current API is not in the API map');
|
||||
return '';
|
||||
}
|
||||
|
||||
const apiConfig = CONNECT_API_MAP[text.toLowerCase()];
|
||||
@ -8524,7 +8527,7 @@ async function connectAPISlash(args, text) {
|
||||
}
|
||||
|
||||
toastr.clear(toast);
|
||||
return '';
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user