Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore(local): enable the ai_tools queue flags on local stacks (#6565)

gbirmanf713d56fb5e6
diff --git a/tooling/xtask/crates/xtask_local/src/local/local_env.rs b/tooling/xtask/crates/xtask_local/src/local/local_env.rs
index 122be2b304..25ea7ac5fe 100644
--- a/tooling/xtask/crates/xtask_local/src/local/local_env.rs
+++ b/tooling/xtask/crates/xtask_local/src/local/local_env.rs
@@ -288,6 +288,11 @@ impl QueueEnv {
env.insert(key.into(), form.value(queue.name));
}
}
+ // Without these the `ai_tools` SQS client is built with no queue name
+ // and every enqueue fails, so an agent session can neither send email
+ // nor sync thread labels. Deployed environments set them in Doppler.
+ env.insert("ENABLE_EMAIL_SCHEDULED_QUEUE".into(), "true".into());
+ env.insert("ENABLE_GMAIL_OPS_QUEUE".into(), "true".into());
}
}