mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(test) add gpt-4-turbo
This commit is contained in:
parent
f7990525ff
commit
8d9e2574cf
1 changed files with 12 additions and 0 deletions
|
@ -110,6 +110,18 @@ def test_completion_with_litellm_call_id():
|
|||
pytest.fail(f"Error occurred: {e}")
|
||||
# test_completion_with_litellm_call_id()
|
||||
|
||||
def test_completion_gpt4_turbo():
|
||||
try:
|
||||
response = completion(
|
||||
model="gpt-4-1106-preview",
|
||||
messages=messages,
|
||||
max_tokens=10,
|
||||
)
|
||||
print(response)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# test_completion_gpt4_turbo()
|
||||
|
||||
def test_completion_perplexity_api():
|
||||
try:
|
||||
# litellm.set_verbose=True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue