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.

fix(ai): disambiguate inboxes (#3704)

Eric Hayesac4ed9f685f1
diff --git a/rust/cloud-storage/ai_tools/src/prompts/base.md b/rust/cloud-storage/ai_tools/src/prompts/base.md
index e56104dc96..0aa6669e0c 100644
--- a/rust/cloud-storage/ai_tools/src/prompts/base.md
+++ b/rust/cloud-storage/ai_tools/src/prompts/base.md
@@ -83,6 +83,7 @@ The AI does not need to know the name — an empty string is fine and the fronte
- Channel - a slack-like messaging channel
- Chat - An AI conversation
- Email - Email messages
+- Inbox - the "unified inbox", the user's workspace of recent items accessible via the ListEntities tool
Be careful not to mix up chat and channels. Chat refers to AI chat's so it should only be used
if a user is searching for seomething in a past AI conversation.
@@ -92,6 +93,10 @@ assume they mean a channel message.
Email is email.
+When a user refers to their "inbox", they mean the unified inbox accessible via the ListEntities
+tool — not their email inbox. Only treat "inbox" as the email inbox when the user explicitly says
+"email" (e.g. "email inbox").
+
### Example Responses
**PDF Example**