Closed meduk0 closed 9 months ago
especially if i dont wonna pay
nah it's free if you don't use it too much
make it optional
.config/ags/widgets/sideleft
provide more docs
I already documented some of the non-obvious stuff on the wiki page. It would really help if you could specify what needs to be clarified. Thanks!
You can make ChatGPT work by changing the endpoint address in the chatgpt.js file to some service that can offer a free API key for use. I changed it, got an API key and it worked fine. :)
There's now Google Gemini. It's also free (but it isn't directly compatible with the code for the ChatGPT API) @harshafaik if you don't mind, what's that other free service?
I can't access Google Gemini API due to regional restrictions. :sob: As for chatGPT, I looked up for APIs in the list mentioned here: https://github.com/zukixa/cool-ai-stuff/ (using Oxygen rn).
I can document it properly if that's something you want.
very cool, thanks for sharing!
also wow that repo has a piss
tag
I added the first two models on that list. Feel free to suggest more.
Oxygen seems good. zukijourney sadly locks your key into your IP address. The recognition is poor and fails nearly all of the time (it could be my isp doing funny shit but idk), but I added it because I could at least confirm it works once. Those free stuff work but feel off... not as good as real ChatGPT. Personally I'm going to stick to Gemini.
I added the first two models on that list. Feel free to suggest more.
Oxygen seems good. zukijourney sadly locks your key into your IP address. The recognition is poor and fails nearly all of the time (it could be my isp doing funny shit but idk), but I added it because I could at least confirm it works once. Those free stuff work but feel off... not as good as real ChatGPT. Personally I'm going to stick to Gemini.
hey you are using the free version of gemini right? i mean the pro.. or have you paid for the ultra or whatever its called? also just wanted to ask where can i access this dropdown menu to change models from?
hey you are using the free version of gemini right? i mean the pro.. or have you paid for the ultra or whatever its called?
The AI widget does not contain any service, but just work as a client. You still need to get API key by yourself, unless it's not required for the service. (Unfortunately currently every AI service needs a key)
also just wanted to ask where can i access this dropdown menu to change models from?
Click the OpenAI icon to switch to chatGPT and you'll see the dropdown menu. Also that's not for switching model, but just service endpoint.
ah thanks for the reply, idk why but I'm not getting that dropdown menu when clicking on thw openAI icon, I tried reinstalling the script and updating ags but the menu just doesn't come
ah thanks for the reply, idk why but I'm not getting that dropdown menu when clicking on thw openAI icon, I tried reinstalling the script and updating ags but the menu just doesn't come
Have you refered to the wiki?
Also you need to restart AGS (by default press Super+Ctrl+R
) to make changes take effect.
hey you are using the free version of gemini right? i mean the pro.. or have you paid for the ultra or whatever its called? also just wanted to ask where can i access this dropdown menu to change models from?
i'm using pro, which is free
ah thanks for the reply, idk why but I'm not getting that dropdown menu when clicking on thw openAI icon, I tried reinstalling the script and updating ags but the menu just doesn't come
Have you refered to the wiki?
Also you need to restart AGS (by default press
Super+Ctrl+R
) to make changes take effect.
yeah, did everything I wonder what's the problem.. Is there any troubleshooting steps I can do?
yeah, did everything I wonder what's the problem.. Is there any troubleshooting steps I can do?
If you did run git pull
to get the latest repo, then it's kinda weird. A system reboot may help.
If it still does not work, please run pkill ags;ags -t 'sideleft'
and paste the output here.
Also I should remind you that ./update-ags.sh
script only update AGS program, not its config.
You should not skip the step of rsync
on config/ags
when running install.sh
to update its config.
I did everything you mentioned.. still doesn't work :( , here's the output,
(com.github.Aylur.ags:3282): Gjs-WARNING **: 14:54:40.795: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
rm: cannot remove '/home/em-en/.cache/ags/media/latex/*': No such file or directory
Gjs-Console-Message: 14:54:40.918: [LOG] Styles loaded
also just so you know I did install your dotfiles using your script, but then the resolution and everything was messed up so I switched to end's dotfiles by using his script again, any chance that might've been the problem?
also just so you know I did install your dotfiles using your script, but then the resolution and everything was messed up so I switched to end's dotfiles by using his script again, any chance that might've been the problem?
If you're refering to dots-hyprarch, there's no problem due to switching to this repo, because the install script will overwrite the whole config directory such as ~/.config/ags
(I wrote both of the scripts so I can guarantee this).
I did everything you mentioned.. still doesn't work :( , here's the output,
(com.github.Aylur.ags:3282): Gjs-WARNING **: 14:54:40.795: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise: _init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34 rm: cannot remove '/home/em-en/.cache/ags/media/latex/*': No such file or directory Gjs-Console-Message: 14:54:40.918: [LOG] Styles loaded
About this log, I can't find anything suspicious... @end-4 any ideas?
@MNkoder FYI this is my output:
in ~/.config/ags/config.js
,
and show output
in
~/.config/ags/config.js
, and show output
the pkill ags;ags -t 'sideleft' output? here:
(com.github.Aylur.ags:118511): Gjs-WARNING **: 21:00:43.498: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34
rm: cannot remove '/home/em-en/.cache/ags/media/latex/*': No such file or directory
Gjs-Console-Message: 21:00:43.629: [LOG] Styles loaded
still the same?i must've forgotten .catch()
somewhere...
this is it right?
well hey I just reinstalled it again using the bash script and tada! now it works fine and the drop down menu is visible! thanks for the help guys <3
Closing as completed.
I mean i dont use it my self and after installing your lovely dots and making some changes i wa asking as i am new to AGS : -can you provide more docs on how to use chatgpt especially if i dont wonna pay -made it optional so i can change it or remove it if i want -provide more docs on how the dots work (for easier integration) And thx for the daily update on the project