Skip to content

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]

test compl openai orgs

Ishaan Jaffer148715541c39
diff --git a/tests/local_testing/test_completion.py b/tests/local_testing/test_completion.py
index d06568c8796..2b01b4c2a12 100644
--- a/tests/local_testing/test_completion.py
+++ b/tests/local_testing/test_completion.py
@@ -1752,21 +1752,6 @@ def test_completion_openai_pydantic(model, api_version):
pytest.fail(f"Error occurred: {e}")
-def test_completion_openai_organization():
- try:
- litellm.set_verbose = True
- try:
- response = completion(
- model="gpt-3.5-turbo", messages=messages, organization="org-ikDc4ex8NB"
- )
- pytest.fail("Request should have failed - This organization does not exist")
- except Exception as e:
- assert "header should match organization for API key" in str(e)
-
- except Exception as e:
- print(e)
- pytest.fail(f"Error occurred: {e}")
-
def test_completion_text_openai():
try: