mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
refactor: add black formatting
This commit is contained in:
parent
b87d630b0a
commit
4905929de3
156 changed files with 19723 additions and 10869 deletions
|
@ -3,12 +3,12 @@
|
|||
# # commenting out this test for circle ci, as it causes other tests to fail, since litellm.max_budget would impact other litellm imports
|
||||
# import sys, os, json
|
||||
# import traceback
|
||||
# import pytest
|
||||
# import pytest
|
||||
|
||||
# sys.path.insert(
|
||||
# 0, os.path.abspath("../..")
|
||||
# ) # Adds the parent directory to the system path
|
||||
# import litellm
|
||||
# import litellm
|
||||
# # litellm.set_verbose = True
|
||||
# from litellm import completion, BudgetExceededError
|
||||
|
||||
|
@ -18,14 +18,12 @@
|
|||
|
||||
# messages = [{"role": "user", "content": "Hey, how's it going"}]
|
||||
# response = completion(model="gpt-4", messages=messages, stream=True)
|
||||
# for chunk in response:
|
||||
# for chunk in response:
|
||||
# continue
|
||||
# print(litellm._current_cost)
|
||||
# completion(model="gpt-4", messages=messages, stream=True)
|
||||
# litellm.max_budget = float('inf')
|
||||
# except BudgetExceededError as e:
|
||||
# except BudgetExceededError as e:
|
||||
# pass
|
||||
# except Exception as e:
|
||||
# pytest.fail(f"An error occured: {str(e)}")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue