Repository navigation
[litellm-agent] Staging → litellm_internal_staging (5/6/2026) #27256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Sameerlite
merged 28 commits into
litellm_internal_staging
from
litellm_agent_oss_staging_05_06_2026
May 11, 2026
Merged
Changes from 6 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
6b591c3
fix(ovhcloud): migrate reasoning_content->reasoning and duration->sec…
KunalG67 e55e73d
fix(ovhcloud): use explicit None check for seconds field in STT response
KunalG67 c0da139
fix(otel): populate gen_ai.output.messages and gen_ai.system_instruct…
Aneesh-Fiddler 4d2e13c
test(otel): add tests for Responses API output messages, system instr…
Aneesh-Fiddler e70b0c9
style: apply black formatting to opentelemetry.py
Aneesh-Fiddler c30d58f
fix: resolve mypy indexed assignment error in function_call handling
Aneesh-Fiddler 466b4dd
fix: address review comments — Pydantic compat, falsy fallthrough, pe…
Aneesh-Fiddler 982fed4
fix(ovhcloud): handle reasoning field migration in non-streaming resp…
KunalG67 8f48d88
style: apply black formatting to ovhcloud chat transformation
KunalG67 9928618
fix: remove duplicate gen_ai.response.finish_reasons block
Aneesh-Fiddler 90bcd23
fix(ovhcloud): remove dead transform_response override
KunalG67 d73e24c
fix(ovhcloud): remove dead transform_response override, parent alread…
KunalG67 5310252
ci: retrigger checks after retargeting to litellm_oss_staging_04_27_2026
Aneesh-Fiddler c319a19
fix: handle raw Pydantic v2 models from openai SDK in output transfor…
Aneesh-Fiddler 209bd0b
fix(proxy): sort spend updates to prevent DB deadlocks
pnookala-godaddy 2993e45
allow non-admin roles on /compliance/* read routes
85d4d96
fix(proxy): preserve HTTP operations when injecting WebSocket stubs i…
michelligabriele ed7ded9
Merge PR #27221 into agent staging branch
062b5b3
Add main module header comment
cursoragent b631863
Add utils module docstring
oss-agent-shin f8c0e03
Merge PR #27255 into agent staging branch
5b91fc0
Merge PR #27253 into agent staging branch
1087766
Merge PR #27244 into agent staging branch
abf0381
Merge PR #27234 into agent staging branch
75245de
Merge PR #26595 into agent staging branch
a466c2e
Merge PR #26670 into agent staging branch
ce17e94
Merge branch 'litellm_internal_staging' into litellm_agent_oss_stagin…
Sameerlite 99218c6
Fix deprecated model test
Sameerlite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| from pathlib import Path | ||
|
|
||
|
|
||
| def test_main_py_starts_with_brief_file_description(): | ||
| repo_root = Path(__file__).resolve().parents[2] | ||
| main_py = repo_root / "litellm" / "main.py" | ||
|
|
||
| first_two_lines = main_py.read_text(encoding="utf-8").splitlines()[:2] | ||
|
|
||
| assert any( | ||
| "LiteLLM main module" in line and "entrypoints" in line | ||
| for line in first_two_lines | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import ast | ||
| from pathlib import Path | ||
|
|
||
|
|
||
| def test_utils_module_has_docstring(): | ||
| utils_path = Path(__file__).parents[2] / "litellm" / "utils.py" | ||
| module = ast.parse(utils_path.read_text()) | ||
|
|
||
| assert ast.get_docstring(module) == ( | ||
| "Utility helpers for LiteLLM core request handling and provider support." | ||
| ) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exprnode in Python's AST), sofrom __future__ import annotationsis no longer the first non-comment statement. PEP 236 explicitly permits module docstrings before future imports, so behaviour is unchanged — but the inline explanation is misleading for anyone reading it in future.