The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test_completion_invalid_param_cohere
Ishaan Jaff8f372ea2436c
diff --git a/tests/local_testing/test_bad_params.py b/tests/local_testing/test_bad_params.pyindex ef3b4596ec0..221135df901 100644--- a/tests/local_testing/test_bad_params.py+++ b/tests/local_testing/test_bad_params.py@@ -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):passelse:pytest.fail(f"An error occurred {e}")