fix: windows打包

This commit is contained in:
Wxw-Gu committed 2026-08-13 16:11:30 +08:00
1 parent 63a11a334e
commit 412a509b2b
5 files changed
+12

No files matched your search

+2
View File
@@ -40,6 +40,7 @@ import type {
AIProviderConfig,
AIProviderListResult,
AIRuntimeModelConfig,
AIVisionRuntimeConfig,
AIVisionTestRequest,
AIVisionTestResult,
LegacyAIConfig
@@ -238,6 +239,7 @@ declare global {
}>
listAIProviders: () => Promise<AIProviderListResult>
getAIRuntimeConfig: () => Promise<AIRuntimeModelConfig>
getAIVisionRuntimeConfig: () => Promise<AIVisionRuntimeConfig>
getAiSearchProviderStatus: () => Promise<AiSearchProviderStatus>
authorizeAiSearchExternalProvider: (
request: AiSearchExternalAuthorizationRequest
+1
View File
@@ -124,6 +124,7 @@ const api = {
ipcRenderer.invoke('ai:chat', messages, options),
listAIProviders: () => ipcRenderer.invoke('ai:listProviders'),
getAIRuntimeConfig: () => ipcRenderer.invoke('ai:getRuntimeConfig'),
getAIVisionRuntimeConfig: () => ipcRenderer.invoke('ai:getVisionRuntimeConfig'),
getAiSearchProviderStatus: (): Promise<AiSearchProviderStatus> =>
ipcRenderer.invoke('ai-search:getProviderStatus'),
authorizeAiSearchExternalProvider: (