mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Set background client-side
This commit is contained in:
@@ -41,7 +41,7 @@ const getRequestArgs = () => ({
|
||||
},
|
||||
});
|
||||
|
||||
async function getWorkers() {
|
||||
async function getWorkers(workerType) {
|
||||
const response = await fetch('https://horde.koboldai.net/api/v2/workers?type=text', getRequestArgs());
|
||||
const data = await response.json();
|
||||
return data;
|
||||
|
Reference in New Issue
Block a user