From my experiments, ChatGPT is at least valuable by generating boilerplate code for scripting languages. I believe once connected to enterprise codebase its quality and completion can dramatically increase.
I think it's going to be mostly more complete code which does improve its quality. For example I generated a piece of code to query API but without authentication or other information the code is not complete.
You still need boilerplate for scripting language though. Like querying an endpoint in Python with a rationing limit in mind. Things like that, not exactly difficult but still need some lines of code.