add: proxy config for search api doc

This commit is contained in:
kdwycz 2026-01-30 16:01:50 +08:00
parent 6b331916ec
commit ea6fc87d6d

View File

@ -107,6 +107,7 @@ crypto/prepaid).
search: {
enabled: true,
provider: "perplexity",
proxy: "http://127.0.0.1:7890", // optional
perplexity: {
// API key (optional if OPENROUTER_API_KEY or PERPLEXITY_API_KEY is set)
apiKey: "sk-or-v1-...",
@ -160,7 +161,8 @@ Search the web using your configured provider.
apiKey: "BRAVE_API_KEY_HERE", // optional if BRAVE_API_KEY is set
maxResults: 5,
timeoutSeconds: 30,
cacheTtlMinutes: 15
cacheTtlMinutes: 15,
proxy: "http://127.0.0.1:7890" // optional
}
}
}