Yes, there was.
“On July 31, the New York attorney general’s office filed paperwork telling the judge it had completed all its pre-trial work and was prepared for a trial. On that form, the lawyers checked a box requesting a “Trial without jury.”
https://www.businessinsider.com/trump-no-jury-bench-trial-ny-fraud-case-paperwork-2023-10
Because the law mandated a “bench trial” decided by a judge.