Skip to content

[Chore] Move anthropic input/output test to right folder#20535

Merged
shivamrawat1 merged 1 commit intomainfrom
litellm_move_anthropic_test_script
Feb 6, 2026
Merged

[Chore] Move anthropic input/output test to right folder#20535
shivamrawat1 merged 1 commit intomainfrom
litellm_move_anthropic_test_script

Conversation

@shivamrawat1
Copy link
Collaborator

Relevant issues

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

CI (LiteLLM team)

CI status guideline:

  • 50-55 passing tests: main is stable with minor issues.
  • 45-49 passing tests: acceptable but needs attention
  • <= 40 passing tests: unstable; be careful with your merges and assess the risk.
  • Branch creation CI run
    Link:

  • CI run for the last commit
    Link:

  • Merge / cherry-pick CI run
    Links:

Type

🆕 New Feature
🐛 Bug Fix
🧹 Refactoring
📖 Documentation
🚄 Infrastructure
✅ Test

Changes

@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Feb 5, 2026 11:46pm

Request Review

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 5, 2026

Greptile Overview

Greptile Summary

This PR relocates a test file from the repository root to its proper location in the test directory hierarchy. The file test_anthropic_messages_structured_outputs_minimal.py has been moved from the root to tests/test_litellm/llms/anthropic/experimental_pass_through/messages/ and renamed to test_anthropic_messages_structured_outputs.py.

  • Moved test file from root directory to proper test subdirectory
  • Added newline at end of file (line 74)
  • Tests Anthropic structured outputs feature in /v1/messages endpoint
  • File now organized alongside related Anthropic experimental pass-through tests

This is a straightforward organizational change with no logic modifications.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • This is a simple file relocation with no code logic changes - only moving a test file from the root directory to the proper test directory structure and adding a trailing newline
  • No files require special attention

Important Files Changed

Filename Overview
tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_messages_structured_outputs.py File moved from root to correct test directory with newline added at EOF

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Root as Root Directory
    participant TestDir as tests/.../messages/

    Dev->>Root: File existed at root level
    Note over Root: test_anthropic_messages_structured_outputs_minimal.py
    Dev->>Root: Move file to correct location
    Root->>TestDir: Rename and relocate file
    Note over TestDir: test_anthropic_messages_structured_outputs.py
    Dev->>TestDir: Add newline at EOF
    Note over TestDir: File now in correct test directory structure
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, no comments

Edit Code Review Agent Settings | Greptile

@shivamrawat1 shivamrawat1 merged commit 93cf1ef into main Feb 6, 2026
60 of 66 checks passed
@shivamrawat1 shivamrawat1 deleted the litellm_move_anthropic_test_script branch February 6, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant