test_completion_invalid_param_cohere

This commit is contained in:
Ishaan Jaff
2025-04-02 06:49:11 -07:00
parent 63dd2934b7
commit 8f372ea243
+1 -1
View File
@@ -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}")