pub struct LoopRunner { /* private fields */ }Implementations§
Source§impl LoopRunner
impl LoopRunner
pub fn new( normal_provider: Arc<dyn LlmProvider>, reasoning_provider: Option<Arc<dyn LlmProvider>>, config: Config, workspace: PathBuf, printer: Arc<Printer>, max_turns: Option<u32>, dry_run: bool, no_confirm: bool, skip_workspace_setup: bool, memory: Arc<Mutex<MemoryStore>>, lsp_languages: Vec<String>, diff_preview: Arc<AtomicBool>, pr_enabled: Arc<AtomicBool>, ) -> Self
pub async fn run( &self, prompt: &str, session: &mut Session, cancelled: Arc<AtomicBool>, ) -> Result<()>
Auto Trait Implementations§
impl !RefUnwindSafe for LoopRunner
impl !UnwindSafe for LoopRunner
impl Freeze for LoopRunner
impl Send for LoopRunner
impl Sync for LoopRunner
impl Unpin for LoopRunner
impl UnsafeUnpin for LoopRunner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more