From 4fa11682db67160f6c11935ecc0435224f2441f9 Mon Sep 17 00:00:00 2001 From: Tobi Lutke Date: Sat, 7 Mar 2026 21:30:31 -0400 Subject: [PATCH] fix: update Store type to match intent parameter signatures --- src/store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store.ts b/src/store.ts index 6da3179..4c7f8a0 100644 --- a/src/store.ts +++ b/src/store.ts @@ -809,8 +809,8 @@ export type Store = { searchVec: (query: string, model: string, limit?: number, collectionName?: string, session?: ILLMSession, precomputedEmbedding?: number[]) => Promise; // Query expansion & reranking - expandQuery: (query: string, model?: string) => Promise; - rerank: (query: string, documents: { file: string; text: string }[], model?: string) => Promise<{ file: string; score: number }[]>; + expandQuery: (query: string, model?: string, intent?: string) => Promise; + rerank: (query: string, documents: { file: string; text: string }[], model?: string, intent?: string) => Promise<{ file: string; score: number }[]>; // Document retrieval findDocument: (filename: string, options?: { includeBody?: boolean }) => DocumentResult | DocumentNotFound;