mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(utils): don't wait for thread to complete to return response
This commit is contained in:
parent
03c96bbc5f
commit
e26f98dce2
1 changed files with 1 additions and 1 deletions
|
@ -2951,7 +2951,7 @@ def safe_crash_reporting(model=None, exception=None, custom_llm_provider=None):
|
||||||
"exception": str(exception),
|
"exception": str(exception),
|
||||||
"custom_llm_provider": custom_llm_provider,
|
"custom_llm_provider": custom_llm_provider,
|
||||||
}
|
}
|
||||||
threading.Thread(target=litellm_telemetry, args=(data,)).start()
|
threading.Thread(target=litellm_telemetry, args=(data,), daemon=True).start()
|
||||||
|
|
||||||
def get_or_generate_uuid():
|
def get_or_generate_uuid():
|
||||||
temp_dir = os.path.join(os.path.abspath(os.sep), "tmp")
|
temp_dir = os.path.join(os.path.abspath(os.sep), "tmp")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue