feat: 收敛 AI Search 检索边界与问答体验

This commit is contained in:
电摇小子
2026-08-06 20:29:48 +08:00
parent ad4b3a8074
commit a0e8ab278f
22 changed files with 1897 additions and 127 deletions
+7
View File
@@ -25,6 +25,9 @@ import type {
} from '../shared/image-decryption'
import type {
AIChatRequestOptions,
AiSearchExternalAuthorizationRequest,
AiSearchExternalAuthorizationResult,
AiSearchProviderStatus,
AIConnectionTestResult,
AIProviderConfig,
AIProviderListResult,
@@ -215,6 +218,10 @@ declare global {
}>
listAIProviders: () => Promise<AIProviderListResult>
getAIRuntimeConfig: () => Promise<AIRuntimeModelConfig>
getAiSearchProviderStatus: () => Promise<AiSearchProviderStatus>
authorizeAiSearchExternalProvider: (
request: AiSearchExternalAuthorizationRequest
) => Promise<AiSearchExternalAuthorizationResult>
saveAIProvider: (provider: AIProviderConfig) => Promise<AIProviderListResult>
deleteAIProvider: (providerId: string) => Promise<AIProviderListResult>
setDefaultAIProvider: (providerId: string) => Promise<AIProviderListResult>