BerriAI / litellm

Python SDK, Proxy Server (LLM Gateway) to call 100+ LLM APIs in OpenAI format - [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, Replicate, Groq]
https://docs.litellm.ai/docs/
Other
14.07k stars 1.66k forks source link

(testing) - add e2e tests for anthropic pass through endpoints #6840

Closed ishaan-jaff closed 1 day ago

ishaan-jaff commented 1 day ago

Title

Add end-to-end (e2e) tests for the anthropic pass-through endpoints

convers streaming + non streaming

Relevant issues

Type

πŸ†• New Feature πŸ› Bug Fix 🧹 Refactoring πŸ“– Documentation πŸš„ Infrastructure βœ… Test

Changes

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

Description by Korbit AI

What change is being made?

Add end-to-end (e2e) tests for the anthropic pass-through endpoints and configure the test environment to include the ANTHROPIC_API_KEY.

Why are these changes being made?

These changes are necessary to verify the functionality of anthropic endpoints and ensure accurate pass-through capability, vital for maintaining the integrity of the application's API interactions. Incorporating the required API key in the test environment setup ensures these tests can be executed successfully without manual configuration, thereby enhancing testing efficiency.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

vercel[bot] commented 1 day ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
litellm βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Nov 21, 2024 1:46am