Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/rmusser01/tldw into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rmusser01 committed Jan 6, 2025
2 parents f96ed62 + da1261b commit 23eb7f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App_Function_Libraries/Chat/Chat_Functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def chat_api_call(api_endpoint, api_key, input_data, prompt, temp, system_messag
start_time = time.time()
try:
logging.info(f"Debug - Chat API Call - API Endpoint: {api_endpoint}")
logging.info(f"Debug - Chat API Call - API Key: {api_key[:5]}...{api_key[-5:]}")
logging.info(f"Debug - Chat API Call - API Key: {api_key[:4]}...{api_key[-4:]}")
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)
Expand Down

0 comments on commit 23eb7f1

Please sign in to comment.