fix: enhance web search functionality with proxy support (#1823)
* fix: enhance web search functionality with proxy support - Remove unnecessary blank line in README.md - Add missing closing details tag in both README.md and README_zh.md - Add proxy support to the web search engine configuration in config.lua - Ensure the web search function uses the proxy setting when available in init.lua - Fix a potential nil access in the response body format check in config.lua Signed-off-by: 范立洲 <fanlizhou@yunqilaohe.com> * [pre-commit.ci lite] apply automatic fixes --------- Signed-off-by: 范立洲 <fanlizhou@yunqilaohe.com> Co-authored-by: 范立洲 <fanlizhou@yunqilaohe.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
@@ -47,6 +47,7 @@ M._defaults = {
|
||||
},
|
||||
web_search_engine = {
|
||||
provider = "tavily",
|
||||
proxy = nil,
|
||||
providers = {
|
||||
tavily = {
|
||||
api_key_name = "TAVILY_API_KEY",
|
||||
|
||||
Reference in New Issue
Block a user