Collapse AI chat without creating/erasing prompt

Try the keyboard shortcut CMD + Y.