From 14b384d9d87f662a9ef2ce39207f8e8bb5e34d11 Mon Sep 17 00:00:00 2001 From: JohnRichardEnders Date: Fri, 3 Apr 2026 17:05:14 +0200 Subject: [PATCH] feat(config): add ModelsConfig type to CollectionConfig Co-Authored-By: Claude Opus 4.6 (1M context) --- src/collections.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/collections.ts b/src/collections.ts index b59b094..e68ff65 100644 --- a/src/collections.ts +++ b/src/collections.ts @@ -33,6 +33,15 @@ export interface Collection { includeByDefault?: boolean; // Include in queries by default (default: true) } +/** + * Model configuration for embedding, reranking, and generation + */ +export interface ModelsConfig { + embed?: string; + rerank?: string; + generate?: string; +} + /** * The complete configuration file structure */ @@ -41,6 +50,7 @@ export interface CollectionConfig { editor_uri?: string; // Editor URI template for terminal hyperlinks editor_uri_template?: string; // Alias for editor_uri collections: Record; // Collection name -> config + models?: ModelsConfig; } /**