fixed feedback handoff in autonomous mode

This commit is contained in:
Dhanji Prasanna
2025-10-15 14:07:25 +11:00
parent 793fc544c0
commit c9037ede22
2 changed files with 59 additions and 2 deletions

View File

@@ -620,6 +620,11 @@ impl<W: UiWriter> Agent<W> {
Ok((provider.name().to_string(), provider.model().to_string()))
}
/// Get the current session ID for this agent
pub fn get_session_id(&self) -> Option<&str> {
self.session_id.as_deref()
}
pub async fn execute_task(
&mut self,
description: &str,