It makes sense in English, however:
a) "you are" vs "you're". "you are" sounds too formal/authoritative in informal speech, and depending on tone, patronising.
b) one could say "you're absolutely right", but the "absolutely" is too dramatic/stressed for simple corrections (an example of sycophancy in LLMs)
If the prompt was something like "You did not include $VAR in func()", then a response like "You're right! Let me fix that.." would be more natural.