feat: search engine adds proxy addresses and adds SSRF verification.

This commit is contained in:
hjz
2026-04-15 08:53:09 +08:00
committed by lyingbug
parent 092044b68f
commit 7bd36bf954
16 changed files with 228 additions and 14 deletions
+2
View File
@@ -10,6 +10,7 @@ export interface WebSearchProviderEntity {
parameters: {
api_key?: string
engine_id?: string
proxy_url?: string
extra_config?: Record<string, string>
}
is_default?: boolean
@@ -23,6 +24,7 @@ export interface WebSearchProviderTypeInfo {
name: string
requires_api_key: boolean
requires_engine_id?: boolean
supports_proxy?: boolean
description?: string
docs_url?: string
}