Google AI Studio中有一个保存到Github的功能,不得不说这个功能非常有用,在AI Studio中开发,用 Github做版本管理,不要太爽。

(图源 :pixabay)
不过爽不过三秒,不知道为啥AI Studio的Github功能时灵时不灵,灵的时候嗷嗷好用,不灵的时候真是叫天天不应,叫地地不灵!
每次出问题,我都被折磨得焦头烂额,什么重启浏览器呀、清空缓存呀、更换IP呀,各种招数都弄过,但还是时灵时不灵的。
哎,一个做软件的公司,能把AI搞得这么强大,但是竟然这个小功能都搞不好,我也不知道该如何吐槽Google啦。
你说哪怕你这个功能没搞好,但是你有个明确的出错信息也行呀,让我知道发生了什么错误,该从哪个方向解决呢,但人家就是不告诉你,让你去猜,你说气不气?
想起一句歌词:
女孩的心思男孩你别猜
别猜别猜
你猜来猜去也猜不明白
不明白
反正Google的心思我是猜不明白了,就是各种大法连招一通试,各种大法中还有一招就是解绑Google AI Studio和Github,但是操作好多次之后,我还是总忘记我是咋解绑的(记性不好啦),这次把过程记录一下,备忘,也供有需要的朋友参考。
首先,进入Github,选择右上角的头像,点开后选择Setting。

然后选择Setting中贴近底部的Applications:

点开后就能找到这个啦:

点开后拖到最下边,直接点Uninstall

不要怂,就是干,直接点OK

还有这个,也给它弄掉,干干净净,清清爽爽,多好!

不要怂,就是干

然后回Google AI Studio重新授权

历经九九八十一难

最后还是不好用

哎,不然怎么叫灵异问题呢?!

(图源 :pixabay)
你说我这不是白折腾了嘛?
这怎么能叫白折腾呢?这不是又学会一招根本没用的技能嘛?不折腾,咋能学会,咋能知道这技能没用呢?😡
I sometimes have the problem that I can't push my code from Studio to GitHub. I've found that AI Studio has problems synchronizing directories with a . in front of them. My workaround for this is to remove the . from the code in Studio and then add it back in on GitHub. I need to do this for the workflows to create the GitHub page, for example. Maybe this will help you with your problem. If you need a more detailed explanation, feel free to leave a comment.
Thank you for your reply. The files in the GitHub workflow did indeed cause the synchronization failure. I also used the same method to solve the workflow problem.
As for the issue I encountered, after analyzing it over the past two days, I think it might be due to exceeding the Gemini usage limit. Unfortunately, AI Studio doesn't provide detailed error information, so I can only rely on multiple tests and guesswork.
Yes - but normally i dont run in any issues or limits from Gemini Ai Studio for to heavy usage - i'm also about to release a new one build with the Studio and exported to vercel - since it's using a server.js which just not work on Github Pages (hafSQL Background Calls)
Haha, maybe I’ve been using AI a bit too intensively these past few days — not only can the AI barely keep up, I’m about to reach my limit myself 😄.
I’m currently using a VPS on Linode, but I’m also considering moving to some public infrastructure projects — that might help save a bit on costs 😍.
Hmmm, I don't even know much about that. Lot now complicated things out there. Its cool to try and figure out, or if you're a pro like that, and you know coding and stuff.
My programming skills are only average, but I'm working hard to learn and hope to become a true expert someday.
Thanks for the info! I only recently started playing around with Google AI Studio, so I haven't had time to worry about linking it to my Github yet.
Connecting to GitHub offers many advantages, such as easier version control. Having an extra storage location can also prevent issues like accidental project deletion.
nice 👍🏻👍🏻👍🏻👍🏻
生命在于折腾
瞎折腾呗
哈哈哈真的是 有时候废了好大一番功夫 结果还是没用
不为无益之事,何以遣有涯之生!
程序员真的好烧脑
O哥实战经验丰富,请受小弟一拜
过奖过奖啦
没有白折腾,有用👍说不定什么时候就用上了呢😊
这话爱听,哈哈😊
不要怂,就是干
哈哈哈哈O哥V5