Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

fix(email): count the draft tool in the Email group's token estimate

AdityaUmaleb32b52cb580e
diff --git a/packages/phone-protocol/src/tool-groups.ts b/packages/phone-protocol/src/tool-groups.ts
index a510f56581..27dba66131 100644
--- a/packages/phone-protocol/src/tool-groups.ts
+++ b/packages/phone-protocol/src/tool-groups.ts
@@ -10,7 +10,7 @@ export const TOOL_GROUP_LABELS: Readonly<Record<ToolGroup, string>> = {
/** About how many tokens each group's tool definitions add to every request where the workspace has the group. */
export const TOOL_GROUP_TOKENS: Readonly<Record<ToolGroup, number>> = {
- meetings: 900, data: 1600, pages: 1500, images: 480, email: 1300,
+ meetings: 900, data: 1600, pages: 1500, images: 480, email: 1900,
};
/** The agents server's environment variable that carries `toolsOff`: group ids joined with commas. */