Open MNkoder opened 3 months ago
Try to run this command:
rm ~/.cache/ags/user/ai/chats/gemini.txt
pkill ags;ags
removed the txt btw
thats sus. why does running ags after killing give that? reboot maybe
thats sus. why does running ags after killing give that? reboot maybe
finally.. rebooted thrice and worked the 3rd time!
also hey sorry for asking in this issue but how would i add an ai model to the sidebar? for example, i want to add this one called [https://www.perplexity.ai/](perplexity ai) i have the api key and endpoint address, what would be the steps i need to do to add it?
does it work similar to chatgpt? if yes, you can simply add it to the const PROVIDERS
array in ~/.config/ags/services/gpt.js
. (and tell me if it works ;) )
else, you'll have to implement your own caller/parser based on that file
does it work similar to chatgpt? if yes, you can simply add it to the
const PROVIDERS
array in~/.config/ags/services/gpt.js
. (and tell me if it works ;) ) else, you'll have to implement your own caller/parser based on that file
afaik it does work similar to chatgpt but this is the error i get.
{"error":{"message":"Invalid model 'gpt-3.5-turbo-1106'. Permitted models can be found in the documentation at https://docs.perplexity.ai/docs/model-cards.","type":"invalid_model","code":400}}
...
i think they use customized models but im not sure, can you please look into it and help me with it if you're free <3
alright.. so i somehow made it work by changing the model name and now this is the problem,
is there any way to fix this formatting? i tried turning on and off enhancements.. still the same
right after this line
const line = this._decoder.decode(bytes);
add this
console.log(line)
then show me console output
i think they use customized models but im not sure, can you please look into it and help me with it if you're free <3
i should make that PROVIDERS array also contain model name
right after this line
const line = this._decoder.decode(bytes);
add this
console.log(line)
then show me console output
im sorry if i sound dumb but where would i find the console output?
you should run ags in terminal. with my dotfiles it's Super
+T
to open foot
type pkill ags; ags
then hit enter
ask the model something, wait for it to respond then copy whatever shows up in the console over here
its a beefy log;
heyy 🤕
The issue
this is my issue, i just installed it and this is the error i get,