Method
getGeneratedText()
Returns the currently generated text from the main writer.
@MainActor func getGeneratedText() async -> String
Return Value
The accumulated text in the current writer
Discussion
This method is primarily intended for testing purposes to verify generated output without finalizing the generation.