Igor
Igor
Could you please, for example, print the text that you are getting in response from the character using my library before sending this message to discord (i.e. in the `send_ai_message`...
I've been really busy lately, sorry for the long response time. It looks more like a problem on the c.ai side. I tried asking the same bot to write me...
P.s.s. At the time of writing this issue, ags crashed with an error, filling about 770mb of memory, lol: 
So, I did a little investigation (ran 4 different ags instances with different interval times, the first two with 5ms, the last two with 50ms. The first and third call...
No, it doesn't. And memory leak happens only with Utils and Services methods like `Utils.exec`, `Utils.execAsync`, `Utils.fetch` , `hypland.message`, etc
upd. The only solution I've come up with so far is to use an external script. But `Utils.subprocess()` also causes a leak. So I use `Variable` instead. And for some...
What's even weirder is that I have looked at the sources and `Variable` also uses `subprocess` but doesn't cause this problem: https://github.com/user-attachments/assets/f9ddbbf6-20cc-4450-9c10-629bbd477d3e