From 267bbbf77b0f74dc9666644af5fcf206bab0c4e4 Mon Sep 17 00:00:00 2001 From: Akarshan Biswas Date: Thu, 29 May 2025 20:54:38 +0530 Subject: [PATCH] feat: add model and mmproj paths to ImportOptions The `ImportOptions` interface was updated to include `modelPath` and `mmprojPath`. These options are required for importing models and multi-modal projects. --- core/src/browser/extensions/engines/AIEngine.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/browser/extensions/engines/AIEngine.ts b/core/src/browser/extensions/engines/AIEngine.ts index 4259074f7..be7bdb0e5 100644 --- a/core/src/browser/extensions/engines/AIEngine.ts +++ b/core/src/browser/extensions/engines/AIEngine.ts @@ -137,7 +137,8 @@ export interface chatOptions { // 7. /import export interface ImportOptions { - [key: string]: any + modelPath: string + mmprojPath: string } export interface importResult {