Indirect discourse may be introduced by ὅτι (ὡς) and then pass into the infinitive as if the introductory verb had required the infinitive.
ἡ δὲ ἀπεκρί_νατο ὅτι βούλοιτο μὲν ἅπαντα τῷ πατρὶ χαρίζεσθαι, ἄ_κοντα μέντοι τὸν παῖδα χαλεπὸν εἶναι νομίζειν ( = νομίζοι)
a. It is unusual to have the infinitive first, and then ὅτι (
b. One and the same clause may even begin with ὅτι (ὡς) and then (sometimes after a parenthesis) be continued by an infinitive, less often by a participle. Thus, ἀκούω ὅτι (omitted in one Ms.)
καὶ συνθηρευτά_ς τινας τῶν παίδων σοι γενέσθαι αὐτοῦ
Herbert Weir Smyth [n.d.], A Greek Grammar for Colleges; Machine readable text [info] [word count] [Smyth].