From 7cf5be98a2dbc2fe79f0d9838a1960003948b6bc Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Mon, 25 Sep 2023 10:00:10 -0700 Subject: [PATCH] add contributor message to code --- litellm/caching.py | 9 +++++++++ litellm/exceptions.py | 9 +++++++++ litellm/main.py | 8 ++++++++ litellm/testing.py | 9 +++++++++ litellm/timeout.py | 9 +++++++++ litellm/utils.py | 9 +++++++++ 6 files changed, 53 insertions(+) diff --git a/litellm/caching.py b/litellm/caching.py index a9f1495756..12c6159b31 100644 --- a/litellm/caching.py +++ b/litellm/caching.py @@ -1,3 +1,12 @@ +# +-----------------------------------------------+ +# | | +# | Give Feedback / Get Help | +# | https://github.com/BerriAI/litellm/issues/new | +# | | +# +-----------------------------------------------+ +# +# Thank you users! We ❤️ you! - Krrish & Ishaan + import litellm import time import json diff --git a/litellm/exceptions.py b/litellm/exceptions.py index 4e0102b1de..9567fe799a 100644 --- a/litellm/exceptions.py +++ b/litellm/exceptions.py @@ -1,3 +1,12 @@ +# +-----------------------------------------------+ +# | | +# | Give Feedback / Get Help | +# | https://github.com/BerriAI/litellm/issues/new | +# | | +# +-----------------------------------------------+ +# +# Thank you users! We ❤️ you! - Krrish & Ishaan + ## LiteLLM versions of the OpenAI Exception Types from openai.error import ( AuthenticationError, diff --git a/litellm/main.py b/litellm/main.py index e343553174..cc4015b4cc 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -1,3 +1,11 @@ +# +-----------------------------------------------+ +# | | +# | Give Feedback / Get Help | +# | https://github.com/BerriAI/litellm/issues/new | +# | | +# +-----------------------------------------------+ +# +# Thank you users! We ❤️ you! - Krrish & Ishaan import os, openai, sys, json, inspect from typing import Any from functools import partial diff --git a/litellm/testing.py b/litellm/testing.py index 7cab6115c9..5daba6a705 100644 --- a/litellm/testing.py +++ b/litellm/testing.py @@ -1,3 +1,12 @@ +# +-----------------------------------------------+ +# | | +# | Give Feedback / Get Help | +# | https://github.com/BerriAI/litellm/issues/new | +# | | +# +-----------------------------------------------+ +# +# Thank you users! We ❤️ you! - Krrish & Ishaan + import litellm import time from concurrent.futures import ThreadPoolExecutor diff --git a/litellm/timeout.py b/litellm/timeout.py index 75f29b3c91..b0ddfc4a9a 100644 --- a/litellm/timeout.py +++ b/litellm/timeout.py @@ -1,3 +1,12 @@ +# +-----------------------------------------------+ +# | | +# | Give Feedback / Get Help | +# | https://github.com/BerriAI/litellm/issues/new | +# | | +# +-----------------------------------------------+ +# +# Thank you users! We ❤️ you! - Krrish & Ishaan + """ Module containing "timeout" decorator for sync and async callables. """ diff --git a/litellm/utils.py b/litellm/utils.py index 9ff293f13a..7f21e94504 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -1,3 +1,12 @@ +# +-----------------------------------------------+ +# | | +# | Give Feedback / Get Help | +# | https://github.com/BerriAI/litellm/issues/new | +# | | +# +-----------------------------------------------+ +# +# Thank you users! We ❤️ you! - Krrish & Ishaan + import sys import dotenv, json, traceback, threading import subprocess, os