Fix deprecated SynthesisRequest.getText usage.