Skip to content

Commit

Permalink
refactor(proxy_cli): adding additional tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
krrishdholakia committed Oct 11, 2023
1 parent a6f35c8 commit 661ea23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Binary file added dist/litellm-0.7.1.dev1-py3-none-any.whl
Binary file not shown.
Binary file added dist/litellm-0.7.1.dev1.tar.gz
Binary file not shown.
5 changes: 3 additions & 2 deletions litellm/proxy/proxy_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
import subprocess
import subprocess, traceback
import os, appdirs
from dotenv import load_dotenv

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

def open_config():
Expand Down

0 comments on commit 661ea23

Please sign in to comment.