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_aiohttp_openai
Ishaan Jaffer60dd04ac95a4
diff --git a/tests/llm_translation/test_aiohttp_openai.py b/tests/llm_translation/test_aiohttp_openai.pydeleted file mode 100644index 5b92c924ec7..00000000000--- a/tests/llm_translation/test_aiohttp_openai.py+++ /dev/null@@ -1,33 +0,0 @@-import json-import os-import sys-from datetime import datetime-import pytest--sys.path.insert(- 0, os.path.abspath("../../")-) # Adds the parent directory to the system-path--import litellm---async def test_aiohttp_openai():- litellm.set_verbose = True- response = await litellm.acompletion(- model="aiohttp_openai/fake-model",- messages=[{"role": "user", "content": "Hello, world!"}],- api_base="https://exampleopenaiendpoint-production.up.railway.app/v1/chat/completions",- api_key="fake-key",- )- print(response)---async def test_aiohttp_openai_gpt_4o():- litellm.set_verbose = True- response = await litellm.acompletion(- model="aiohttp_openai/gpt-4o",- messages=[{"role": "user", "content": "Hello, world!"}],- )- print(response)