usesuper::Agent;usecrate::built::{Input, RunStream};usecrate::error::KitError;implAgent{/// Builds the agent and starts a streamed run on `input`.
/// Output: the stream once the run id is known, or the first build
/// or setup error. Keep a `BuiltAgent` and call its `stream` instead
/// to run many times.
pub async fnstream(self, input: impl Into<Input>)->Result<RunStream, KitError>{let built =self.build().await?;
built.stream(input).await
}}