mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
(test) gpt-4-0125-preview
This commit is contained in:
parent
c6a6deaa41
commit
e00f46a6e9
1 changed files with 15 additions and 0 deletions
|
|
@ -191,6 +191,21 @@ def test_completion_gpt4_turbo():
|
|||
# test_completion_gpt4_turbo()
|
||||
|
||||
|
||||
def test_completion_gpt4_turbo_0125():
|
||||
try:
|
||||
response = completion(
|
||||
model="gpt-4-0125-preview",
|
||||
messages=messages,
|
||||
max_tokens=10,
|
||||
)
|
||||
print(response)
|
||||
except openai.RateLimitError:
|
||||
print("got a rate liimt error")
|
||||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="this test is flaky")
|
||||
def test_completion_gpt4_vision():
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue