From f0ea303ffd150af3b4ff9d9a76bba71ab48742b4 Mon Sep 17 00:00:00 2001 From: n0vakovic Date: Tue, 5 May 2026 13:23:32 +0100 Subject: [PATCH] Wire --context flag through to query expansion The --context flag was parsed by parseCLI() but never assigned to the opts object passed downstream, so qmd query --context "..." accepted the flag silently with zero effect on query expansion or HyDE. Adds the missing one-line wiring inside the opts literal in parseCLI(). --- src/qmd.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qmd.ts b/src/qmd.ts index 66a4447a..3ec15182 100755 --- a/src/qmd.ts +++ b/src/qmd.ts @@ -2340,6 +2340,7 @@ function parseCLI() { all: isAll, collection: values.collection as string | undefined, lineNumbers: !!values["line-numbers"], + context: values.context as string | undefined, }; return {