From 8c2484ad8d4f5f9a7544634d68dc1951a992e918 Mon Sep 17 00:00:00 2001 From: Robert Date: Sun, 5 Jan 2025 10:47:26 -0800 Subject: [PATCH] Update Chat_Functions.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove full API key debug statement in ‘chat()’ --- App_Function_Libraries/Chat/Chat_Functions.py | 1 - 1 file changed, 1 deletion(-) diff --git a/App_Function_Libraries/Chat/Chat_Functions.py b/App_Function_Libraries/Chat/Chat_Functions.py index aeea3107..445e5b12 100644 --- a/App_Function_Libraries/Chat/Chat_Functions.py +++ b/App_Function_Libraries/Chat/Chat_Functions.py @@ -54,7 +54,6 @@ def chat_api_call(api_endpoint, api_key, input_data, prompt, temp, system_messag model = None try: logging.info(f"Debug - Chat API Call - API Endpoint: {api_endpoint}") - logging.info(f"Debug - Chat API Call - API Key: {api_key}") logging.info(f"Debug - Chat chat_api_call - API Endpoint: {api_endpoint}") if api_endpoint.lower() == 'openai': response = chat_with_openai(api_key, input_data, prompt, temp, system_message, streaming, minp, maxp, model)