fix: correct typo in answer field name in tavily format_response_body function (#1287)

This commit is contained in:
kyrisu 2025-02-17 04:53:15 +00:00 committed by GitHub
parent 0a146dc63a
commit 6fd82f24dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",