feat(tui): enhance agent turn handling by grouping parameters and improving message management
This commit is contained in:
@@ -123,6 +123,13 @@ impl ToolCtxBuilder {
|
||||
self.origin = v;
|
||||
self
|
||||
}
|
||||
pub fn turn_events(
|
||||
mut self,
|
||||
v: Arc<Mutex<std::collections::VecDeque<crate::TurnEvent>>>,
|
||||
) -> Self {
|
||||
self.turn_events = Some(v);
|
||||
self
|
||||
}
|
||||
pub fn workflow_findings(mut self, v: Option<Arc<Mutex<Vec<String>>>>) -> Self {
|
||||
self.workflow_findings = v;
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user