From 40e615c8d250f9217d008ab3035faece74bff765 Mon Sep 17 00:00:00 2001 From: Federico Scheu Date: Sun, 11 Aug 2024 17:10:08 -0300 Subject: [PATCH] Adding llm provider to set when is checked to not repeat the same check again --- core/cli/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/cli/main.py b/core/cli/main.py index 204e790f2..7299ed30e 100644 --- a/core/cli/main.py +++ b/core/cli/main.py @@ -88,6 +88,7 @@ async def handler(*args, **kwargs): log.warning(f"API check for {llm_config.provider.value} failed.") else: log.info(f"API check for {llm_config.provider.value} succeeded.") + checked_llms.add(llm_config.provider) except APIError as err: await ui.send_message( f"API check for {llm_config.provider.value} failed with: {err}",