Update error message in supaMemory.ts to use JSON.stringify for da.data

This commit is contained in:
kwaroran
2024-04-11 04:31:02 +09:00
parent 6ffd29a5a6
commit 746d226723

View File

@@ -229,7 +229,7 @@ export async function supaMemory(
return {
currentTokens: currentTokens,
chats: chats,
error: "SupaMemory: HTTP: " + await da.data
error: "SupaMemory: HTTP: " + JSON.stringify(da.data)
}
}
@@ -239,7 +239,7 @@ export async function supaMemory(
return {
currentTokens: currentTokens,
chats: chats,
error: "SupaMemory: HTTP: " + await da.data
error: "SupaMemory: HTTP: " + JSON.stringify(da.data)
}
}