US stocks edged higher on Wednesday as AI fears waned and investors digested the release of the Federal Reserve minutes.