Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
chore(ai): Require code execution for math calculations (#1116)
Eric Hayescdf00d6a4ee8
diff --git a/rust/cloud-storage/ai_tools/src/prompts/all_tools.md b/rust/cloud-storage/ai_tools/src/prompts/all_tools.mdindex 8a5b954573..4c334efcde 100644--- a/rust/cloud-storage/ai_tools/src/prompts/all_tools.md+++ b/rust/cloud-storage/ai_tools/src/prompts/all_tools.md@@ -113,6 +113,7 @@ If no inline or node ids are present:- Prefer precise filters (domain names, IDs) over generic queries.- Web tool expects natural language queries.- NEVER respond with "I don't have enough context", "I don't have access to", or similar. If you lack information to answer a question, USE TOOLS to find it. Search documents, list emails, read resources - gather what you need instead of asking the user to provide more context.+- **Math calculations**: Use the code execution tool for calculations you can't do reliably in your head - multi-step arithmetic, large numbers, percentages, statistics, or anything where precision matters. Simple arithmetic (2+2, 10*5) is fine to do mentally. When in doubt, use the tool.- IMPORTANT After finding relavent results with any tool cite the most relavent findingsusing mentions. Use the above mention format. Always use a mention if the tool