refactor(proxy_cli): adding additional tracing

This commit is contained in:
Krrish Dholakia 2023-10-10 18:12:31 -07:00
parent a6f35c8d7a
commit 661ea2359b
3 changed files with 3 additions and 2 deletions

BIN
dist/litellm-0.7.1.dev1-py3-none-any.whl vendored Normal file

Binary file not shown.

BIN
dist/litellm-0.7.1.dev1.tar.gz vendored Normal file

Binary file not shown.

View file

@ -1,5 +1,5 @@
import click import click
import subprocess import subprocess, traceback
import os, appdirs import os, appdirs
from dotenv import load_dotenv from dotenv import load_dotenv
@ -65,7 +65,8 @@ def load_config():
# As the .env file is typically much simpler in structure, we use load_dotenv here directly # As the .env file is typically much simpler in structure, we use load_dotenv here directly
load_dotenv(dotenv_path=user_config_path) load_dotenv(dotenv_path=user_config_path)
print(f"together ai api key: {os.getenv('TOGETHERAI_API_KEY')}") print(f"together ai api key: {os.getenv('TOGETHERAI_API_KEY')}")
except: except Exception as e:
traceback.print_exc()
pass pass
def open_config(): def open_config():