jackschedel / KoalaClient

The best LLM API Playground Interface (for me)
https://client.koaladev.io/
Creative Commons Zero v1.0 Universal
26 stars 8 forks source link

Google Sync seems to be broken #118

Open ghost opened 4 months ago

ghost commented 4 months ago

Hi, I'm not sure when it started, but Google Sync seems to be broken, at least for me.

This is the request I see KoalaClient do when it updates the file (PATCH to https://www.googleapis.com/upload/drive/v3/files/): image

So instead of the JSON config and chats it seems to sync the string "free-chat-gpt"

Obviously, after waiting for the Google Sync to complete (when the icon changes from the rotating to a checkmark), if I refresh the page and sync again, I get nothing (no chats/settings). The GET request to https://content.googleapis.com/drive/v3/files/ then just gives out the contents: image

jackschedel commented 4 months ago

Personally, I never use Google Sync. I have not tried to use for a while, so I don't know when it broke. If you can figure it out, I'll take a PR. I could also just drop Google Sync support xD

jackschedel commented 4 months ago

Did this break in 2.1.0 or earlier?

ghost commented 4 months ago

@jackschedel I think quite a bit earlier, I synced my fork and it stopped working, I will try to find the commit when it stopped working, or maybe fix it.

jackschedel commented 4 months ago

It might be because I haven't been updating/adding to the migration schema framework from the original BetterChatGPT.