From 6fd82f24dd63e4561066a9b27b461d9b4743ee21 Mon Sep 17 00:00:00 2001 From: kyrisu Date: Mon, 17 Feb 2025 04:53:15 +0000 Subject: [PATCH] fix: correct typo in answer field name in tavily format_response_body function (#1287) --- lua/avante/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/avante/config.lua b/lua/avante/config.lua index 504f8fb..2bcbcc6 100644 --- a/lua/avante/config.lua +++ b/lua/avante/config.lua @@ -36,7 +36,7 @@ M._defaults = { include_answer = "basic", }, ---@type WebSearchEngineProviderResponseBodyFormatter - format_response_body = function(body) return body.anwser, nil end, + format_response_body = function(body) return body.answer, nil end, }, serpapi = { api_key_name = "SERPAPI_API_KEY",