mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
add get help message
This commit is contained in:
parent
bdc6ef1df8
commit
102c81f863
7 changed files with 55 additions and 4 deletions
|
@ -15,7 +15,7 @@ from litellm import embedding, completion, text_completion, completion_cost
|
|||
user_message = "Write a short poem about the sky"
|
||||
messages = [{"content": user_message, "role": "user"}]
|
||||
|
||||
|
||||
print(f"os path: {os.path.isfile('litellm_uuid.txt')}")
|
||||
def logger_fn(user_model_dict):
|
||||
print(f"user_model_dict: {user_model_dict}")
|
||||
|
||||
|
@ -48,7 +48,7 @@ def test_completion_claude():
|
|||
print(response.response_ms)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# test_completion_claude()
|
||||
test_completion_claude()
|
||||
|
||||
def test_completion_claude_max_tokens():
|
||||
try:
|
||||
|
@ -67,7 +67,7 @@ def test_completion_claude_max_tokens():
|
|||
print(response.response_ms)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# test_completion_claude_max_tokens()
|
||||
test_completion_claude_max_tokens()
|
||||
|
||||
# def test_completion_oobabooga():
|
||||
# try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue