Garry's Mod

Garry's Mod

S.A.P Bots | Adaptive Friends
niko sigma 29 Nov, 2024 @ 9:24am
The AI thing does not work
Tried putting the API key two times, not worked, giving me an issue:
[S.A.P Bots | Adaptive Friends] lua/sapbot/sapainet.lua:209: attempt to index local 'tableIn' (a nil value)
1. processOutPrompt - lua/sapbot/sapainet.lua:209
2. unknown - lua/sapbot/sapainet.lua:291
Any way to fix this?
< >
Showing 1-6 of 6 comments
Aub  [developer] 30 Nov, 2024 @ 3:56pm 
most likely it means that the llm is outputting a value that cannot be converted into a table,
aka- garbage data, or a single line error or something else like that,
so most likely you haven't set up the llm correctly, or maybe don't have the Aub Utility addon subbed to- sub to it.
you will need to visit the groq website, make an account, make a new API key and then put the API key into the input for the sap bot toolgun tool, and tick its box, and configure the settings however you want
Aub  [developer] 30 Nov, 2024 @ 3:57pm 
it could be a lot of other issues causing this, but mainly the most likely is that its on the LLM's side, aka groq is giving my code some weird data it cant process
niko sigma 1 Dec, 2024 @ 12:31am 
Oh, I see.
But I still don't understand, how do I set up the LLM? It is still giving me errors.
I have subbed to the Aub Utility if you wonder.
certainlycereal 10 Dec, 2024 @ 9:28am 
You put a groq key?
niko sigma 11 Dec, 2024 @ 4:24am 
Originally posted by Cereal:
You put a groq key?

Yes, I did indeed.

Originally posted by icantcode:
Tried putting the API key two times, not worked, giving me an issue:
...
im having the same problem but there is no error message just doesnt work and yes i have a groq code
< >
Showing 1-6 of 6 comments
Per page: 1530 50