@aviavi123 thanks for reporting the issue. We have fixed the issue on the latest pre-release version 0.46.159, could you try it with the pre-release? thanks.
You can install the pre-release from the settings view:

Or download it from the website https://github.com/github/CopilotForXcode/releases
Originally posted by @testforstephen in #702 (comment)