A stalling rebound in AI and chip stocks and a stronger dollar kept the mood cautious as the second half gets underway.