forked from phoenix/litellm-mirror
Merge branch 'main' into support_anthropic_function_result
This commit is contained in:
commit
0368a335e6
42 changed files with 815 additions and 216 deletions
|
@ -358,7 +358,7 @@ def test_completion_mistral_azure():
|
|||
}
|
||||
],
|
||||
)
|
||||
# Add any assertions here to check the response
|
||||
# Add any assertions here to check, the response
|
||||
print(response)
|
||||
|
||||
except Exception as e:
|
||||
|
@ -575,6 +575,25 @@ def test_completion_azure_gpt4_vision():
|
|||
# test_completion_azure_gpt4_vision()
|
||||
|
||||
|
||||
def test_completion_fireworks_ai():
|
||||
try:
|
||||
litellm.set_verbose = True
|
||||
messages = [
|
||||
{"role": "system", "content": "You're a good bot"},
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Hey",
|
||||
},
|
||||
]
|
||||
response = completion(
|
||||
model="fireworks_ai/accounts/fireworks/models/mixtral-8x7b-instruct",
|
||||
messages=messages,
|
||||
)
|
||||
print(response)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="this test is flaky")
|
||||
def test_completion_perplexity_api():
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue