toDto

fun <I : Any, O : Any> AgentRun<O>.toDto(agent: Agent<I, O>, outputSerializer: KSerializer<O>): RunDto