mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
test(test_completion.py): change tgai model
This commit is contained in:
parent
30a95a7823
commit
985583023a
1 changed files with 2 additions and 2 deletions
|
@ -847,7 +847,7 @@ def test_customprompt_together_ai():
|
|||
litellm.set_verbose = False
|
||||
litellm.num_retries = 0
|
||||
response = completion(
|
||||
model="together_ai/OpenAssistant/llama2-70b-oasst-sft-v10",
|
||||
model="together_ai/togethercomputer/llama-2-70b-chat",
|
||||
messages=messages,
|
||||
roles={"system":{"pre_message":"<|im_start|>system\n", "post_message":"<|im_end|>"}, "assistant":{"pre_message":"<|im_start|>assistant\n","post_message":"<|im_end|>"}, "user":{"pre_message":"<|im_start|>user\n","post_message":"<|im_end|>"}}
|
||||
)
|
||||
|
@ -860,7 +860,7 @@ def test_customprompt_together_ai():
|
|||
print(f"ERROR TYPE {type(e)}")
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
# test_customprompt_together_ai()
|
||||
test_customprompt_together_ai()
|
||||
|
||||
def test_completion_sagemaker():
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue