kekjddc

joined 1 week ago
[โ€“] [email protected] 2 points 1 week ago

Good to know, and thanks for your help regardless!

[โ€“] [email protected] 1 points 1 week ago (2 children)

Right, thank you so much! The nature of the project makes your advice hard to implement, but for future I'll be keeping my code very compartmentalised

I've also occasionally been getting "Sorry, there was an error with the AI helper: NetworkError when attempting to fetch resource.", though I'm assuming that is what it says on the tin, and just a network error.

While I'm here, thanks for the work you've put into these tools! Its proven to be a great way to sandbox ideas without needing to pay any attention to actual implementation. Is there any way to help contribute? I'm assuming by the nature of Perchance its Open Source

 

I've been trying to use Perchance's built in method to AI generate code in a generator. The project has gotten quite large, around 8000 lines of code so far. But now, every generation seems to fail. Sometimes, prompting it simply has it delete everything, other times it removes thousands of lines and cuts off mid-line. These I can somewhat understand as the stream cutting off.

The one I can't explain is the following error appearing:

Sorry, there was an error with the AI helper: JSON.parse: unexpected character at line 1 column 1 of the JSON data

This has started to occur on every generation - essentially, it refuses to code anything else. What can I do to fix/prevent this?