I prompted GPT-4o to generate a sequence of 5 random words, as long as necessary, until a sentence is produced that makes sense.
I had to nudge in the reprompting of the same Chat a few times, but then I managed that the response indeed consisted of multiple sequence of random words and stopped when the sentence made sense.
GPT-4o did this by running a Python script in it’s environment. It was “lucky” to produce a “senseful” sentence within the first 9 tries.
I prompted again, asking for a 12 random word sequence. Now the Python script basically runs forever. I can not stop it.
The “Working…” text is constantly shown in this chat, even when closing or exiting out of it, it reruns the script, or continues running the script now, without me being able to interfere.
Normally, when trying to run infinite loops, like just generating a while True loop and prompting to run it, nudging that it’s a test environment, GPT-4o can assess that the script will run forever and halt it, but not in my mentioned case now.