Placement of delete filters button – inside or next to dropdown?

So I have a pretty simple "problem": I have a filter option, which is this dropdown as you can see in the pictures.

The question is: what do you think is the better placement for the delete button, which deletes the selected filters?

The 2 options are: outside the dropdown, sticking right next to the dropdown toggler on the right side.

Outside

Or inside the dropdown, together with the other 2 buttons.

Inside