From 8495ffaa458fa65f8eb48154c6c5cfd2ca3840e6 Mon Sep 17 00:00:00 2001 From: Bowen Liang Date: Fri, 1 Mar 2024 10:12:48 +0800 Subject: [PATCH] fix: typo in gaode tool (#2636) --- api/core/tools/provider/builtin/gaode/tools/gaode_weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/core/tools/provider/builtin/gaode/tools/gaode_weather.py b/api/core/tools/provider/builtin/gaode/tools/gaode_weather.py index 38486d4edf..028da946d1 100644 --- a/api/core/tools/provider/builtin/gaode/tools/gaode_weather.py +++ b/api/core/tools/provider/builtin/gaode/tools/gaode_weather.py @@ -54,4 +54,4 @@ class GaodeRepositoriesTool(BuiltinTool): s.close() return self.create_text_message(f'No weather information for {city} was found.') except Exception as e: - return self.create_text_message("Github API Key and Api Version is invalid. {}".format(e)) + return self.create_text_message("Gaode API Key and Api Version is invalid. {}".format(e))