yuneng
e1556ce32b
test: migrate legacy provider tests to tests/unit (wave 2, phase 13)
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 14:18:49 +00:00
yuneng-jiang
b9a2d441cf
Merge pull request #42135 from BerriAI/litellm_unit_packages
...
test(unit): make every tests/unit directory a package so pytest collection is unique
2026-09-20 05:54:27 -07:00
Mateo Wang
cbcccd531c
Merge pull request #42127 from BerriAI/litellm_any_sweep_20260920
...
refactor(types): replace Any with proven types in 30 files
2026-09-20 05:23:51 -07:00
Devin AI
73a35abeb3
refactor(types): keep object permission parsing as it was
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 11:57:53 +00:00
yuneng
e4a58ef91a
test(unit): make every tests/unit directory a package so pytest collection is unique
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 11:50:59 +00:00
Devin AI
6ba4c2e339
refactor(types): keep guardrail metadata helper accepting dicts
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 11:40:11 +00:00
Devin AI
e0b92b2b25
refactor(types): keep a2a response_dict annotation as it was
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 11:07:38 +00:00
yuneng-jiang
bfc805b372
Merge pull request #42109 from BerriAI/litellm_migrate_tests_p5
...
test(llms): migrate phase 5 provider unit tests to tests/unit
2026-09-20 04:00:48 -07:00
yuneng-jiang
766f6fcd3a
Merge pull request #42112 from BerriAI/litellm_migrate_tests_p8
...
test: migrate wave 1 phase 8 legacy llm tests to tests/unit
2026-09-20 03:59:36 -07:00
yuneng-jiang
4852d71606
Merge pull request #42114 from BerriAI/litellm_migrate_tests_p7
...
test(llms): migrate phase 7 provider unit tests to tests/unit
2026-09-20 03:59:28 -07:00
Devin AI
dbf566873e
refactor(types): keep agentops preset imports optional
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 10:28:06 +00:00
Devin AI
ccd8997b08
refactor(types): replace Any with proven types in 34 files
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 10:16:48 +00:00
yuneng-jiang
9e39c751ed
Merge pull request #42117 from BerriAI/litellm_migrate_tests_p9
...
test: migrate phase 9 legacy llm provider tests to tests/unit
2026-09-20 03:13:33 -07:00
yuneng-jiang
e08df02ebe
Merge pull request #42115 from BerriAI/litellm_migrate_tests_p10
...
test: migrate nvidia, oci, ocr, oobabooga and openai legacy tests to tests/unit
2026-09-20 03:13:07 -07:00
yuneng-jiang
53ba9f389f
Merge pull request #42107 from BerriAI/litellm_migrate_tests_p6
...
test(llms): migrate phase 6 provider unit tests to tests/unit
2026-09-20 03:12:59 -07:00
yuneng-jiang
5ae5727eb0
Merge pull request #42110 from BerriAI/litellm_migrate_tests_p4
...
test(llms): migrate bedrock, baseten and base_llm batch tests to tests/unit
2026-09-20 03:12:49 -07:00
yuneng-jiang
c198cd2cf9
Merge pull request #42108 from BerriAI/litellm_migrate_tests_p2
...
test: migrate wave 1 phase 2 legacy unit tests to tests/unit
2026-09-20 03:12:39 -07:00
yuneng-jiang
0b2de7d0ed
Merge pull request #42116 from BerriAI/litellm_ratchet_retired_rules
...
fix(ci): excuse retired test-quality rules in the budget ratchet
2026-09-20 03:09:32 -07:00
yuneng
f61abe00a6
test(llms): wrap remaining lines over 120 chars in migrated unit tests
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 09:58:23 +00:00
yuneng
ba629f2537
test(bedrock): wrap long lines flagged by review in migrated unit tests
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 09:37:17 +00:00
yuneng-jiang
829963f86a
Merge pull request #42113 from BerriAI/litellm_unit_socket_block_at_import
...
test(unit): block external sockets at import time and add a socket policy regression test
2026-09-20 02:29:28 -07:00
yuneng
bbfa853d84
test(ci): annotate new test locals as Final
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 09:07:51 +00:00
yuneng
9850cd14f7
test(ci): prove RULE_CODES by running every checker rule
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:27:02 +00:00
yuneng
cf2a9b372c
test(gigachat): cover env credential fallback by its resulting auth header
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:21:51 +00:00
Devin AI
6d327fff6f
test(bedrock): keep beta headers fixture teardown off the network
2026-09-20 08:21:28 +00:00
yuneng
ad523edb25
test: migrate phase 9 legacy llm provider tests to tests/unit
2026-09-20 08:13:11 +00:00
yuneng
65a4a00958
fix(ci): excuse retired test-quality rules in the budget ratchet
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:12:39 +00:00
yuneng
feca00248c
test(bedrock): isolate host AWS config in realtime and rerank unit tests
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:11:56 +00:00
yuneng
443c9f8385
test: migrate nvidia, oci, ocr, oobabooga and openai legacy tests to tests/unit
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:09:49 +00:00
yuneng
d47008129c
test(llms): migrate phase 7 provider unit tests to tests/unit
...
Move the wave 1 phase 7 batch (fireworks_ai, gemini, gigachat, github_copilot; 20 files) from tests/test_litellm to tests/unit after judging every test function under a behaviour mutation. Seven wiring or mock-echo tests that stayed green are deleted. The fireworks cost calculator tests get a local model_cost save/restore fixture since the tests/unit tree has no shared conftest for it
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:08:12 +00:00
yuneng
99c2ef4d73
test(unit): block external sockets at import time and add a socket policy regression test
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:07:50 +00:00
yuneng
4defed7f2e
test: migrate wave 1 phase 8 legacy llm tests to tests/unit
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 08:03:54 +00:00
yuneng
02ccdbae90
test(llms): migrate bedrock, baseten and base_llm batch tests to tests/unit
2026-09-20 07:51:50 +00:00
yuneng
522c3e3ed6
test: migrate wave 1 phase 2 legacy unit tests to tests/unit
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:50:43 +00:00
yuneng
b450baa402
test(llms): migrate phase 5 provider unit tests to tests/unit
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:50:38 +00:00
yuneng
4048062e53
test(llms): annotate local_model_cost_map fixtures in phase 6 tests
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:50:30 +00:00
yuneng
e1d2789d29
test(llms): migrate phase 6 provider unit tests to tests/unit
...
Migrate 18 provider test files from tests/test_litellm/llms to tests/unit/llms.
194 kept tests move as-is after mutation testing; 1 test deleted
(test_completion_datarobot_with_environment_variables, env-gated no-assert);
the fixture-only fal_ai cost calculator file is removed.
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:50:30 +00:00
yuneng-jiang
6ef7b86748
Merge pull request #42103 from BerriAI/litellm_test_unit_ci_wiring
...
ci(tests): wire tests/unit into CircleCI and keep draining GHA shards green
2026-09-20 00:50:00 -07:00
yuneng-jiang
776f8bc309
Merge pull request #40932 from BerriAI/litellm_v2_migration_startup
...
fix(proxy): coordinate v2 migration startup and qualify container recovery
2026-09-20 00:21:02 -07:00
yuneng
adadeac245
Revert "ci(tests): temporarily point one shard at an empty directory"
...
This reverts commit 3c094dbaaa .
2026-09-20 07:10:43 +00:00
yuneng
3c094dbaaa
ci(tests): temporarily point one shard at an empty directory
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:08:09 +00:00
yuneng
df7a3d2d1e
ci(tests): share the loopback allow list in the unit conftest
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:06:39 +00:00
yuneng
446bd1b250
ci(tests): wire tests/unit into CircleCI and drain legacy unit shards green
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 07:05:42 +00:00
Yuneng Jiang
e34fd201b3
Merge remote-tracking branch 'origin/main' into litellm_v2_migration_startup
2026-09-19 23:59:26 -07:00
yuneng-jiang
d5d12edbae
Merge pull request #42099 from BerriAI/litellm_test_tier_contract
...
docs(tests): define the tier contract for unit, integration and e2e
2026-09-19 23:29:15 -07:00
yuneng
3f4fe7db82
docs(tests): define the tier contract for unit, integration and e2e
...
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-09-20 06:24:06 +00:00
Mateo Wang
58065d46fd
Merge pull request #42071 from BerriAI/litellm_remove_dead_telemetry_flag
2026-09-19 21:48:02 -07:00
kerry-berri
d744fd1269
Merge pull request #42092 from BerriAI/litellm-providers/price-sync-openrouter
...
chore(prices): sync OpenRouter prices: 1 model
2026-09-19 21:42:53 -07:00
berriai-litellm-provider-info-sync[bot]
3619142a52
chore(prices): sync OpenRouter prices: 1 model
...
openrouter/z-ai/glm-5.2: input_cost_per_token, output_cost_per_token, cache_read_input_token_cost
2026-09-20 04:30:59 +00:00
kerry-berri
dd40137463
Merge pull request #42089 from BerriAI/litellm-providers/price-sync-openrouter
...
chore(prices): sync OpenRouter prices: 1 model
2026-09-19 21:12:54 -07:00