Converted all external tool calling to async
This commit is contained in:
@@ -283,7 +283,7 @@ impl AgentPool {
|
||||
&& let Ok(ref r) = report
|
||||
&& r.story_archived
|
||||
{
|
||||
pool.set_merge_success_reported(&sid);
|
||||
pool.set_merge_success_reported(&sid).await;
|
||||
crate::db::write_content(crate::db::ContentKey::MergeSuccess(&sid), "1");
|
||||
}
|
||||
|
||||
@@ -350,7 +350,7 @@ impl AgentPool {
|
||||
|
||||
let story_archived = crate::agents::lifecycle::move_story_to_done(story_id).is_ok();
|
||||
if story_archived {
|
||||
self.remove_agents_for_story(story_id);
|
||||
self.remove_agents_for_story(story_id).await;
|
||||
}
|
||||
|
||||
let worktree_cleaned_up = if wt_path.exists() {
|
||||
|
||||
Reference in New Issue
Block a user