feat: search engine adds proxy addresses and adds SSRF verification.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user