Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(search): turn on rewrite tool fusion by default (#5627)

Rakshith Ramprakash874a9ed17ca6
diff --git a/apps/api/src/config.ts b/apps/api/src/config.ts
index e4716bab9..1be9c775f 100644
--- a/apps/api/src/config.ts
+++ b/apps/api/src/config.ts
@@ -438,8 +438,9 @@ const configSchema = z.object({
ALEXANDRIA_AUTO_TOOLS: z.stringbool().default(false),
// Rank rewrite-found tools together with raw-query tools by reciprocal rank
// fusion (also the alexandriaToolFusion team flag), waiting up to
- // ALEXANDRIA_TOOL_FUSION_WAIT_MS past the raw lookup for them.
- ALEXANDRIA_TOOL_FUSION: z.stringbool().default(false),
+ // ALEXANDRIA_TOOL_FUSION_WAIT_MS past the raw lookup for them. On by default;
+ // set to false to append rewrite tools after the raw ranking instead.
+ ALEXANDRIA_TOOL_FUSION: z.stringbool().default(true),
ALEXANDRIA_TOOL_FUSION_WAIT_MS: z.coerce
.number()
.int()