I can successfully send a users message to StackAI however, when trying to get stack AI to return its response, it says that there is a KeyError with ‘out-0’. Does anyone know a fix?
Here is the bottom half of the code:


not sure if it’s glitched because there aren’t 22 lines of code.