Skip to content

Re-loosened test_timeout_resilience after LiteLLM fix#1305

Merged
jamesbraza merged 2 commits intomainfrom
re-loosened-test-timeout-resilience
Feb 25, 2026
Merged

Re-loosened test_timeout_resilience after LiteLLM fix#1305
jamesbraza merged 2 commits intomainfrom
re-loosened-test-timeout-resilience

Conversation

@jamesbraza
Copy link
Copy Markdown
Collaborator

Reverting c276cae after LiteLLM fixed their issue.

@jamesbraza jamesbraza self-assigned this Feb 25, 2026
Copilot AI review requested due to automatic review settings February 25, 2026 20:52
@jamesbraza jamesbraza added the enhancement New feature or request label Feb 25, 2026
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 25, 2026
@dosubot
Copy link
Copy Markdown

dosubot bot commented Feb 25, 2026

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Copy link
Copy Markdown
Contributor

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 reverts a workaround that was introduced in PR #1295 to handle an issue with LiteLLM not allowing empty system messages for Anthropic models. After LiteLLM fixed the underlying issue in version 1.81.14 (PR #21630), the workaround is no longer needed and the code can be simplified.

Changes:

  • Updated litellm version constraint from >=1.81.3 to >=1.81.14 in pyproject.toml
  • Removed duplicate litellm entry in uv.lock file
  • Reverted test_timeout_resilience to use empty string prompt templates instead of placeholder values

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
pyproject.toml Updated litellm version pin to 1.81.14 with comment referencing the upstream fix
uv.lock Removed duplicate litellm entries and consolidated to single entry matching pyproject.toml
tests/test_paperqa.py Reverted prompt_templates from ("{question}", "{question}") back to ("", "") and removed workaround comment

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamesbraza jamesbraza merged commit 6e37e7d into main Feb 25, 2026
9 of 11 checks passed
@jamesbraza jamesbraza deleted the re-loosened-test-timeout-resilience branch February 25, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants