From d8a369e19405eba8ef0a3089839b0044e9db98bc Mon Sep 17 00:00:00 2001 From: teknium1 Date: Mon, 23 Feb 2026 02:13:33 -0800 Subject: [PATCH] refactor: update API key checks in WebToolsTester - Replaced the Nous API key check with the Auxiliary Model check in the WebToolsTester class. - Updated the environment configuration to reflect the change in API key validation, ensuring accurate reporting of available keys. --- tests/test_web_tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_web_tools.py b/tests/test_web_tools.py index ed48c4928..b696a91ac 100644 --- a/tests/test_web_tools.py +++ b/tests/test_web_tools.py @@ -29,7 +29,7 @@ from tools.web_tools import ( web_extract_tool, web_crawl_tool, check_firecrawl_api_key, - check_nous_api_key, + check_auxiliary_model, get_debug_session_info ) @@ -126,7 +126,7 @@ class WebToolsTester: self.log_result("Firecrawl API Key", "passed", "Found") # Check Nous API key (optional) - if not check_nous_api_key(): + if not check_auxiliary_model(): self.log_result("Nous API Key", "skipped", "NOUS_API_KEY not set (LLM tests will be skipped)") self.test_llm = False else: @@ -576,7 +576,7 @@ class WebToolsTester: "results": self.test_results, "environment": { "firecrawl_api_key": check_firecrawl_api_key(), - "nous_api_key": check_nous_api_key(), + "nous_api_key": check_auxiliary_model(), "debug_mode": get_debug_session_info()["enabled"] } }