Skip to content

Conversation

jamesbraza
Copy link
Collaborator

Newer litellm broke this test, so I am expanding it first so we have a better failure mode breakdown.

@jamesbraza jamesbraza self-assigned this May 5, 2025
@Copilot Copilot AI review requested due to automatic review settings May 5, 2025 20:32
@jamesbraza jamesbraza added the enhancement New feature or request label May 5, 2025
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label May 5, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR expands the test_chain_completion test to provide a more detailed failure mode breakdown for the newer litellm behavior.

  • Added import for UUID to enable type-checking of completion IDs
  • Changed messages initialization to a one-line list and added assertions to verify both the UUID type of the response and that subsequent responses have unique IDs
  • Updated assertions to check text and token timing behaviors

@dosubot dosubot bot added the bug Something isn't working label May 5, 2025
@jamesbraza jamesbraza force-pushed the more-verbose-test-chain-completion branch 2 times, most recently from 0495b90 to 951dbc4 Compare May 5, 2025 21:01
@jamesbraza jamesbraza force-pushed the more-verbose-test-chain-completion branch from 951dbc4 to 364d13a Compare May 5, 2025 21:05
@jamesbraza jamesbraza merged commit f69a667 into main May 5, 2025
5 checks passed
@jamesbraza jamesbraza deleted the more-verbose-test-chain-completion branch May 5, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants