Does it matter to you how you got there, or do you only care about the result? If the former - chatGPT is not creative (but maybe we aren't either) - if the latter - ChatGPT is (but so can be a very simple dumb code if it runs for long enough).
I could write a program that will generate all possible programs of given size one by one and run that program till the internal memory state starts repeating. I start with programs with memory size N, let's say 10 bytes, generate and run all of them, then go to N+1 and so on.
Given enough time and memory - that program will write every possible batch computer program smaller than K and solve every possible problem of Kolmogorov complexity ~K.
Assume we have a computer fast enough for this to be practical. Is my program creative? It just bruteforces programming. But eventually it will get the result you want.
Creativity isn't well defined without specifying the hardware, time and memory constraints.