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
+3
View File
@@ -776,6 +776,9 @@ export default {
providerLabel: 'Search Provider',
providerDescription: 'Choose the search engine service used for web search',
providerPlaceholder: 'Select a search engine...',
proxyUrlLabel: 'HTTP proxy',
proxyUrlPlaceholder: 'e.g. http://proxy.example.com:3128 (optional; http/https only)',
proxyUrlHelp: 'Use when outbound access to the search API requires a proxy; leave empty to rely on HTTP_PROXY/HTTPS_PROXY environment variables.',
apiKeyLabel: 'API Key',
apiKeyDescription: 'Enter the API key for the selected search provider',
apiKeyPlaceholder: 'Enter API key',