From d05ae5f6a7ebe1f55083d9bb785e26c5b4ed00a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Ho=CC=88nicke?= Date: Fri, 2 Jun 2023 19:16:35 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9E=95=20refactor:=20summarize=20error=20mes?= =?UTF-8?q?sage=20without=20line=20number?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev_gpt/options/generate/pm/pm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_gpt/options/generate/pm/pm.py b/dev_gpt/options/generate/pm/pm.py index 3dd2122..515c4c5 100644 --- a/dev_gpt/options/generate/pm/pm.py +++ b/dev_gpt/options/generate/pm/pm.py @@ -65,7 +65,7 @@ Description of the microservice: extension_name='Input Example', ) used_apis_beside_tools = [ - x for x in self.get_used_apis(microservice_description) if any(t in x.lower() for t in ['gpt', 'search', 'google']) + x for x in self.get_used_apis(microservice_description) if not any(t in x.lower() for t in ['gpt', 'search', 'google']) ] for api in used_apis_beside_tools: microservice_description += self.user_input_extension_if_needed(