adding logging

This commit is contained in:
Krrish Dholakia 2023-08-19 21:32:45 -07:00
parent 09a04f5b69
commit ef17a0fffd
4 changed files with 2 additions and 4 deletions

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

Binary file not shown.

BIN
dist/litellm-0.1.432.tar.gz vendored Normal file

Binary file not shown.

View file

@ -185,14 +185,12 @@ class Logging:
litellm_call_id=self.litellm_params["litellm_call_id"],
print_verbose=print_verbose,
)
pass
except:
pass
print_verbose(f"LiteLLM.LoggingError: [Non-Blocking] Exception occurred while logging with integrations {traceback.format_exc}")
except:
print_verbose(
f"LiteLLM.LoggingError: [Non-Blocking] Exception occurred while logging {traceback.format_exc()}"
)
pass
def post_call(self, input, api_key, original_response, additional_args={}):
# Do something here

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "litellm"
version = "0.1.433"
version = "0.1.434"
description = "Library to easily interface with LLM API providers"
authors = ["BerriAI"]
license = "MIT License"