mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-08 22:09:10 +02:00
updated lite
This commit is contained in:
@@ -6320,6 +6320,14 @@ Current version: 109
|
||||
.then((response) => response.json())
|
||||
.then((data) => {
|
||||
console.log(data);
|
||||
|
||||
//hack for together.xyz
|
||||
if(data!=null && data.data==null && data.length>0 && data[0] && data[0].id && data[0].id!="")
|
||||
{
|
||||
console.log("together.xyz workaround hack");
|
||||
data = { "data": data }; //fix for their bad format
|
||||
}
|
||||
|
||||
if (!data.error && data.data && data.data.length > 0)
|
||||
{
|
||||
let isOpenrouter = (document.getElementById("customapidropdown").value==5);
|
||||
|
||||
Reference in New Issue
Block a user