This commit is contained in:
xuncha
2026-02-16 16:28:04 +08:00
parent 28e38f73f8
commit ea0dad132c
5 changed files with 253 additions and 128 deletions

View File

@@ -477,7 +477,7 @@ export interface ElectronAPI {
error?: string
}>
debugResource: (url: string) => Promise<{ success: boolean; status?: number; headers?: any; error?: string }>
proxyImage: (url: string) => Promise<{ success: boolean; dataUrl?: string; error?: string }>
proxyImage: (payload: { url: string; key?: string | number }) => Promise<{ success: boolean; dataUrl?: string; error?: string }>
}
llama: {
loadModel: (modelPath: string) => Promise<boolean>