mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix Together image models listing
This commit is contained in:
@@ -627,8 +627,8 @@ together.post('/models', async (request, response) => {
|
||||
}
|
||||
|
||||
const models = data
|
||||
.filter(x => x.display_type === 'image')
|
||||
.map(x => ({ value: x.name, text: x.display_name }));
|
||||
.filter(x => x.type === 'image')
|
||||
.map(x => ({ value: x.id, text: x.display_name }));
|
||||
|
||||
return response.send(models);
|
||||
} catch (error) {
|
||||
|
Reference in New Issue
Block a user