Ishaan Jaff
daea59a7b4
test openai responses streaming
2025-03-12 11:32:26 -07:00
Ishaan Jaff
accdaa4a74
fix ResponseAPILoggingUtils
2025-03-12 11:12:09 -07:00
Ishaan Jaff
d6351c3433
test_basic_openai_responses_api
2025-03-12 10:07:03 -07:00
Ishaan Jaff
047879c004
add aresponses
2025-03-12 09:22:44 -07:00
Ishaan Jaff
3bf2fda128
add conftest
2025-03-12 09:17:27 -07:00
Ishaan Jaff
c2dbcb798f
working streaming logging + cost tracking
2025-03-12 07:27:53 -07:00
Ishaan Jaff
dd7ac41e33
validate_responses_match
2025-03-11 22:42:49 -07:00
Ishaan Jaff
b790f0a5c6
log input of response API
2025-03-11 22:34:18 -07:00
Ishaan Jaff
51dc24a405
_transform_response_api_usage_to_chat_usage
2025-03-11 22:26:44 -07:00
Ishaan Jaff
aa40cb5b26
working ResponsesAPIStreamingIterator
2025-03-11 19:47:43 -07:00
Ishaan Jaff
8da714104b
ResponsesAPIStreamingResponse
2025-03-11 17:48:15 -07:00
Ishaan Jaff
52b43f672b
working test_basic_openai_responses_api
2025-03-11 17:35:43 -07:00
Ishaan Jaff
d6c82327e6
working import litellm.responses
2025-03-11 14:32:32 -07:00
Ishaan Jaff
4b1b87eb67
openai reasoning initial types
2025-03-11 14:28:47 -07:00
Krish Dholakia and GitHub
9610c844c7
Merge pull request #9109 from BerriAI/litellm_dev_03_10_2025_p1_v2
...
Return `code`, `param` and `type` on openai bad request error
2025-03-10 22:38:16 -07:00
Krish Dholakia and GitHub
c93a5e2301
Merge pull request #9047 from BerriAI/litellm_dev_03_06_2025_p4
...
feat(handle_jwt.py): support multiple jwt url's
2025-03-10 22:37:35 -07:00
Krish Dholakia and GitHub
86a5926e26
Merge pull request #9113 from BerriAI/litellm_dev_03_10_2025_p2
...
fix(base_invoke_transformation.py): support extra_headers on bedrock …
2025-03-10 22:19:10 -07:00
Krrish Dholakia
41b0404ae1
test: fix test
2025-03-10 22:00:50 -07:00
Krrish Dholakia
01aa536716
fix: fix test
2025-03-10 21:46:05 -07:00
Ishaan Jaff and GitHub
2903caaf54
Merge pull request #8934 from BerriAI/litellm_fix_team_model_access_checks
...
JWT Auth Fix - [Bug]: JWT access with Groups not working when team is assigned All Proxy Models access
2025-03-10 21:01:41 -07:00
Utkash Dubey
074c8efdc1
cleanup
2025-03-10 20:13:03 -07:00
Utkash Dubey
14736283bc
test original file instead of the backup
2025-03-10 20:09:05 -07:00
Ishaan Jaff
91a7fb0a23
test string checked for model access control
2025-03-10 20:04:18 -07:00
Ishaan Jaff
aa5ac6ba3d
can_team_access_model
2025-03-10 20:03:19 -07:00
Utkash Dubey
7dbc434318
remove incorrect moderations mode
2025-03-10 19:33:40 -07:00
Utkash Dubey
a9d50a615b
move test file to correct location
2025-03-10 19:21:51 -07:00
Utkash Dubey and GitHub
45f0ca68c4
Merge branch 'BerriAI:main' into main
2025-03-10 19:21:37 -07:00
Ishaan Jaff
9dcc25d63b
Merge branch 'main' into litellm_fix_team_model_access_checks
2025-03-10 19:05:11 -07:00
Ishaan Jaff
8811d4cd11
generate_key
2025-03-10 19:03:50 -07:00
Krish Dholakia and GitHub
c58941d49c
Merge branch 'main' into litellm_dev_03_06_2025_p4
2025-03-10 18:41:10 -07:00
Krrish Dholakia
68bd05ac24
fix(base_invoke_transformation.py): support extra_headers on bedrock invoke route
...
Fixes https://github.com/BerriAI/litellm/issues/9106
2025-03-10 16:13:11 -07:00
Ishaan Jaff and GitHub
94667e1cf0
Merge pull request #8386 from minwhoo/triton-completions-streaming-fix
...
Fix triton streaming completions bug
2025-03-10 16:07:19 -07:00
Krrish Dholakia
bfbe26b91d
feat(azure.py): add azure bad request error support
2025-03-10 15:59:06 -07:00
Krrish Dholakia
5f87dc229a
feat(openai.py): bubble all error information back to client
2025-03-10 15:27:43 -07:00
Krrish Dholakia
c1ec82fbd5
refactor: instrument body param to bubble up on exception
2025-03-10 15:21:04 -07:00
Utkash Dubey
495b3dc026
feedback
2025-03-10 14:52:30 -07:00
Utkash Dubey
c7a04140e9
Revert "changes"
...
This reverts commit fa88bc9632 .
2025-03-10 14:46:21 -07:00
Utkash Dubey and GitHub
1f17daf52c
Merge branch 'BerriAI:main' into main
2025-03-10 14:42:30 -07:00
vivek-athina and GitHub
cd4a53d6f2
Merge pull request #4 from BerriAI/main
...
Update main
2025-03-10 11:13:21 +05:30
Krish Dholakia and GitHub
f899b828cf
Support openrouter reasoning_content on streaming ( #9094 )
...
* feat(convert_dict_to_response.py): support openrouter format of reasoning content
* fix(transformation.py): fix openrouter streaming with reasoning content
Fixes https://github.com/BerriAI/litellm/issues/8193#issuecomment-270892962
* fix: fix type error
2025-03-09 20:03:59 -07:00
Krrish Dholakia
c08705517b
test: fix test
2025-03-09 19:40:03 -07:00
65ef65d360
feat: prioritize api_key over tenant_id for more Azure AD token provi… ( #8701 )
...
* feat: prioritize api_key over tenant_id for more Azure AD token provider (#8318 )
* fix: prioritize api_key over tenant_id for Azure AD token provider
* test: Add test for Azure AD token provider in router
* fix: fix linting error
---------
Co-authored-by: you-n-g <you-n-g@users.noreply.github.com >
2025-03-09 18:59:37 -07:00
Krish Dholakia and GitHub
e00d4fb18c
Litellm dev 03 08 2025 p3 ( #9089 )
...
* feat(ollama_chat.py): pass down http client to ollama_chat
enables easier testing
* fix(factory.py): fix passing images to ollama's `/api/generate` endpoint
Fixes https://github.com/BerriAI/litellm/issues/6683
* fix(factory.py): fix ollama pt to handle templating correctly
2025-03-09 18:20:56 -07:00
Ishaan Jaff
83062b892b
fix test_list_key_helper_team_filtering
2025-03-08 17:21:32 -08:00
Ishaan Jaff
6e3b21775f
test_cost_azure_openai_prompt_caching
2025-03-08 16:19:28 -08:00
Ishaan Jaff and GitHub
b41311bb21
(UI) - Fix show correct count of internal user keys on Users Page ( #9082 )
...
* get_user_key_counts
* fix get_user_key_counts
* fix get_user_key_counts
* test_get_users_filters_dashboard_keys
* remove unused func
2025-03-08 16:13:18 -08:00
Ishaan Jaff and GitHub
73df319f4e
(Clean up) - Allow switching off storing Error Logs in DB ( #9084 )
...
* fix - cleanup, dont store ErrorLogs in 2 tables
* async_post_call_failure_hook
* docs disable error logs
* disable_error_logs
2025-03-08 16:12:03 -08:00
Krish Dholakia and GitHub
4330ef8e81
Fix batches api cost tracking + Log batch models in spend logs / standard logging payload ( #9077 )
...
* feat(batches/): fix batch cost calculation - ensure it's accurate
use the correct cost value - prev. defaulting to non-batch cost
* feat(batch_utils.py): log batch models to spend logs + standard logging payload
makes it easy to understand how cost was calculated
* fix: fix stored payload for test
* test: fix test
2025-03-08 11:47:25 -08:00
Teja Vishwanadha and GitHub
8c049dfffc
support bytes.IO for audio transcription ( #9071 )
2025-03-08 08:47:15 -08:00
Ishaan Jaff and GitHub
e2d612efd9
Bug fix - String data: stripped from entire content in streamed Gemini responses ( #9070 )
...
* _strip_sse_data_from_chunk
* use _strip_sse_data_from_chunk
* use _strip_sse_data_from_chunk
* use _strip_sse_data_from_chunk
* _strip_sse_data_from_chunk
* test_strip_sse_data_from_chunk
* _strip_sse_data_from_chunk
* testing
* _strip_sse_data_from_chunk
2025-03-07 21:06:39 -08:00