mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Hide sampling method select from unsupported backends
This commit is contained in:
@ -807,6 +807,8 @@ stability.post('/generate', jsonParser, async (request, response) => {
|
||||
|
||||
const { payload, model } = request.body;
|
||||
|
||||
console.log('Stability AI request:', model, payload);
|
||||
|
||||
const formData = new FormData();
|
||||
for (const [key, value] of Object.entries(payload)) {
|
||||
if (value !== undefined) {
|
||||
|
Reference in New Issue
Block a user