One of the functions ChatGPT offered for the refresh flow was completely wrong for the task. It took me a long time to figure out the error, but then copilot auto-completed the correct function after I removed the ChatGPT one.