solve

suspend fun solve(query: String): String

Run the ReAct loop until the model emits a FINAL ANSWER: line or the iteration budget is exhausted. Returns the extracted final answer (or the last raw response when the budget runs out).