Commit graph

39980 commits

Author SHA1 Message Date
Alexsander Hamir
c0d9facd96
Merge pull request #17089 from BerriAI/litellm_refactor_01
[Refactor#1] `litellm/init` – Lazy-load `cost_calculator` & `logging` to reduce memory + import time
2025-11-26 14:41:46 -08:00
Ishaan Jaffer
ce60453855 test_gemini_get_complete_url 2025-11-26 14:35:03 -08:00
AlexsanderHamir
49f0a86d0c revert fix 2025-11-26 14:34:29 -08:00
Sameer Kankute
b97ea585b2
Add method for extracting vector store ids from path params (#16566)
* Add method for extracting vector store ids from path params

* Add vector id handling from path

* Move method to utils
2025-11-26 14:19:30 -08:00
yuneng-jiang
8d72d86cb6
Merge pull request #17163 from BerriAI/litellm_extras_version_bump
bump: version 0.4.8 → 0.4.9
2025-11-26 14:17:11 -08:00
Ishaan Jaff
d987593855
[Feat] Add audio transcriptions for WatsonX (#17160)
* feat: add IBMWatsonXAudioTranscriptionConfig

* init IBMWatsonXAudioTranscriptionConfig

* add inits

* test_watsonx_transcription_url_and_headers

* docs watsox audio

* docs watsonx audi

* docs
2025-11-26 14:15:49 -08:00
yuneng-jiang
21830cb853 Including files for publish_proxy_extras output 2025-11-26 14:15:06 -08:00
yuneng-jiang
f1789a5fa9 bump: version 0.4.8 → 0.4.9 2025-11-26 14:12:15 -08:00
yuneng-jiang
d8e4aaf301
Merge pull request #17161 from BerriAI/litellm_fix_flaky_ui_test_teaminfo
[Fix] UI - Fix Flaky Test
2025-11-26 14:02:38 -08:00
yuneng-jiang
1a9b2d2206
Merge pull request #16560 from BerriAI/litellm_org_usage
[Feature] Organization Usage
2025-11-26 13:55:58 -08:00
yuneng-jiang
cfdade1a6f Adding timeout it instead 2025-11-26 13:53:31 -08:00
yuneng-jiang
b93fe4b93e Add explicit timeout for flaky tests 2025-11-26 13:41:03 -08:00
yuneng-jiang
ce9474a039 Updating spend writer 2025-11-26 13:31:04 -08:00
yuneng-jiang
02e99f22f8 Revert "Revert "Update spend logs writer to add organization_id""
This reverts commit b11a803dd3.
2025-11-26 13:29:27 -08:00
Ishaan Jaffer
5a60a8ab3b bump: version 1.80.5 → 1.80.6 2025-11-26 13:20:25 -08:00
Ishaan Jaffer
9aef28fe70 fix get litellm params 2025-11-26 13:20:05 -08:00
Ishaan Jaffer
0437be13d3 bump pyproject extras 2025-11-26 13:10:57 -08:00
Ishaan Jaffer
bb7db67f32 0.4.8 extras bump 2025-11-26 12:42:51 -08:00
Ishaan Jaffer
4e9490b1db fix fallback handlers 2025-11-26 12:39:17 -08:00
yuneng-jiang
b11a803dd3 Revert "Update spend logs writer to add organization_id"
This reverts commit 5b645d5f2f.
2025-11-26 12:39:04 -08:00
Ishaan Jaffer
529c56423c test_opentelemetry_integration 2025-11-26 12:28:47 -08:00
Ishaan Jaffer
44e3133827 test_imagen_get_complete_url 2025-11-26 12:26:49 -08:00
yuneng-jiang
046b5fc27b Merge remote-tracking branch 'origin' into litellm_org_usage 2025-11-26 12:23:43 -08:00
Ishaan Jaffer
7e0822fb55 fix validate_environment 2025-11-26 12:12:38 -08:00
Ishaan Jaffer
4bf5830106 test fix 2025-11-26 12:07:58 -08:00
Chesars
8c128edb5d test: add unit tests for BaseModelResponseIterator empty SSE line filtering
Tests verify that empty lines between SSE events are properly filtered
and don't produce extra empty chunks in streaming responses.
2025-11-26 17:05:40 -03:00
Ishaan Jaffer
2548c89042 code qa check 2025-11-26 12:04:12 -08:00
Ishaan Jaffer
983ada20c3 mock test fixes 2025-11-26 12:02:35 -08:00
Chesars
16a7e0ce8f fix: filter empty SSE lines in BaseModelResponseIterator to prevent extra empty chunks
When streaming with stream_options={"include_usage": True}, xAI and other
providers using BaseLLMHTTPHandler were returning an extra empty chunk after
the usage chunk. This was caused by empty SSE lines (separators between events)
being processed as empty GenericStreamingChunks.

The fix adds a loop in __next__ and __anext__ to skip empty lines before
processing, ensuring only meaningful SSE data events are converted to chunks.

Fixes #17136
2025-11-26 17:01:23 -03:00
Ishaan Jaffer
2d70aee0c2 test_edit_mcp_server_redacts_credentials 2025-11-26 11:54:11 -08:00
Ishaan Jaffer
a48705bfaf fix code QA checks 2025-11-26 11:53:58 -08:00
Ishaan Jaffer
50328d15d4 test_process_chunk_with_response_completed_event 2025-11-26 11:52:05 -08:00
Alexsander Hamir
ff53a7555c
Merge branch 'main' into litellm_refactor_01 2025-11-26 11:50:18 -08:00
Ishaan Jaffer
3c3725db92 bump extras 2025-11-26 11:47:29 -08:00
Ishaan Jaffer
203df982e8 fix pyproject 2025-11-26 11:47:13 -08:00
Ishaan Jaffer
6530749c89 test fixes 2025-11-26 11:42:12 -08:00
Ishaan Jaffer
c7746eb58f bump proxy extras 2025-11-26 11:40:06 -08:00
Ishaan Jaffer
42376330ba add DEFAULT_CHUNK_OVERLAP, DEFAULT_CHUNK_SIZE 2025-11-26 11:39:24 -08:00
Ishaan Jaffer
72f8e5f9a3 bump litellm proxy extras 2025-11-26 11:39:09 -08:00
Ishaan Jaffer
85d4000af6 test_vertex_ai_partner_models_token_counting_endpoint 2025-11-26 11:37:55 -08:00
Ishaan Jaffer
19a6693dfc test_create_mcp_server_direct 2025-11-26 11:35:23 -08:00
Ishaan Jaffer
8d2dba8cac fix code qa checks 2025-11-26 11:34:22 -08:00
Ishaan Jaff
0f59e5fa3a
add fireworks_ai/accounts/fireworks/models/glm-4p6 (#17154) 2025-11-26 11:28:28 -08:00
yuneng-jiang
13848530b7 Revert "test fixes"
This reverts commit 40c21c4081.
2025-11-26 11:27:06 -08:00
Ishaan Jaff
99d0f130ad
fix api_key (#17153) 2025-11-26 11:17:11 -08:00
yuneng-jiang
40c21c4081 test fixes 2025-11-26 11:14:27 -08:00
Ishaan Jaffer
4d87ac04c0 Revert "add VertexAIVectorStoreOptions"
This reverts commit b086adf10b.
2025-11-26 11:09:39 -08:00
Ishaan Jaffer
016625bc5f add VertexAIVectorStoreOptions 2025-11-26 11:09:39 -08:00
yuneng-jiang
5b645d5f2f Update spend logs writer to add organization_id 2025-11-26 10:32:49 -08:00
yuneng-jiang
f0d1f2d2b4
Merge pull request #17123 from BerriAI/litellm_ui_model_page_perf
[Infra] UI - Migrate modelInfoCall to ReactQuery
2025-11-26 10:12:09 -08:00