Skip to content

Commit ea4b131

Browse files
committed
updated lite
1 parent 4cb956c commit ea4b131

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

klite.embd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6320,6 +6320,14 @@ Current version: 109
63206320
.then((response) => response.json())
63216321
.then((data) => {
63226322
console.log(data);
6323+
6324+
//hack for together.xyz
6325+
if(data!=null && data.data==null && data.length>0 && data[0] && data[0].id && data[0].id!="")
6326+
{
6327+
console.log("together.xyz workaround hack");
6328+
data = { "data": data }; //fix for their bad format
6329+
}
6330+
63236331
if (!data.error && data.data && data.data.length > 0)
63246332
{
63256333
let isOpenrouter = (document.getElementById("customapidropdown").value==5);

0 commit comments

Comments
 (0)