Current file lose can not add it back

hello,
image
if there are not any content in the chat, when I click the backspace button, the current file context is deleted too, how can I add the current file context back? so it can reference the current file automatically

hi, try pressing cmd + r to reset the chat and bring back the current file. note this will also reset the text and any other context you’ve added.

alternatively you can also switch active editors to bring back the current file context. hope this helps!