mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
refactor(proxy_cli): adding additional tracing
This commit is contained in:
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
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
BIN
dist/litellm-0.7.1.dev1.tar.gz
vendored
Normal file
Binary file not shown.
|
@ -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():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue