mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-05 17:06:54 +00:00
test_completion_invalid_param_cohere
This commit is contained in:
@@ -44,7 +44,7 @@ def test_completion_invalid_param_cohere():
|
||||
except Exception as e:
|
||||
assert isinstance(e, litellm.UnsupportedParamsError)
|
||||
print("got an exception=", str(e))
|
||||
if " cohere does not support parameters: {'seed': 12}" in str(e):
|
||||
if "cohere does not support parameters: ['seed']" in str(e):
|
||||
pass
|
||||
else:
|
||||
pytest.fail(f"An error occurred {e}")
|
||||
|
||||
Reference in New Issue
Block a user