Sameer Kankute
4adfd18bc6
[Feat]Add support for safety_identifier parameter in chat.completions.create ( #14174 )
...
* Add support for safety_identifier parameter in chat.completions.create
* make sure param is getting actually passed to the raw api
2025-09-02 09:37:08 -07:00
Marcelo Mendoza
db1b418b15
fix: update alert type formatting to handle enum names in Slack messages
2025-09-02 17:54:54 +02:00
Keith Decker
5dcdbb35da
add metrics and logs (events) with semconv attributes
2025-09-02 09:20:25 -06:00
Marcelo Mendoza
92f631d57c
fix: correct formatting of alert messages in Slack notifications
2025-09-02 15:12:11 +00:00
Ishaan Jaff
61b2209827
test_proxy_function_calling_support_consistency
2025-09-02 07:22:52 -07:00
John Lathouwers
d02e560d85
Merge branch 'BerriAI:main' into main
2025-09-02 12:46:37 +01:00
Yuji Arakawa
c7109609fd
renamed unit test code
2025-09-02 19:11:37 +09:00
Yuji Arakawa
ae3931f5f3
FIx https://github.com/BerriAI/litellm/issues/14158
2025-09-02 18:32:45 +09:00
Krish Dholakia
82d6c4d5b1
Merge branch 'main' into litellm_dev_08_31_2025_p1
2025-09-01 22:42:53 -07:00
Krish Dholakia
6d36219a4d
Merge pull request #14122 from BerriAI/litellm_dev_08_30_2025_p1
...
Braintrust - fix logging when OTEL is enabled + Gemini - add 'thoughtSignature' support via 'thinking_blocks'
2025-09-01 22:42:12 -07:00
Krish Dholakia
d2c519f005
Merge pull request #14133 from retanoj/fix/gemini-token-count
...
Fix token count error for gemini cli
2025-09-01 22:39:51 -07:00
TomeHirata
4497dcf762
fix test
2025-09-02 14:39:19 +09:00
TomeHirata
3f9ab84a7d
Reapply "Add supported text field to anthropic citation response"
2025-09-02 14:36:55 +09:00
Ishaan Jaff
20811372d8
Revert "Merge pull request #14126 from TomeHirata/citation-supported-text-2"
...
This reverts commit 3f2881cd6d , reversing
changes made to 04f9ff16c4 .
2025-09-01 20:24:14 -07:00
Ishaan Jaff
d37be48a80
test: llama-3.3-70b-versatile
2025-09-01 20:14:12 -07:00
Krrish Dholakia
ff955c73a8
refactor: remove db credential comment
2025-09-01 19:54:47 -07:00
Krrish Dholakia
271a14d3d1
test: remove hardcoded api base
2025-09-01 19:54:08 -07:00
Krish Dholakia
3f2881cd6d
Merge pull request #14126 from TomeHirata/citation-supported-text-2
...
Add supported text field to anthropic citation response
2025-09-01 19:22:52 -07:00
Krish Dholakia
67450feb79
Merge pull request #14146 from ProjectAlita/gpt_5_unsupported_params
...
GPT-5: Drop unsupported params
2025-09-01 18:54:49 -07:00
Krrish Dholakia
6a2da54fa8
test: update tests
2025-09-01 18:51:05 -07:00
Krrish Dholakia
d4cc748b40
feat(openrouter.py): add image generation via google on openrouter support
...
Closes https://github.com/BerriAI/litellm/pull/14151
2025-09-01 18:39:41 -07:00
Krrish Dholakia
4b8f2dc051
test: update tests
2025-09-01 18:20:46 -07:00
Krrish Dholakia
0fbcc01173
feat(types/utils.py): support 'images' field in output
...
Compatible with Openrouter response format
Closes https://github.com/BerriAI/litellm/pull/14151
2025-09-01 18:05:16 -07:00
Ishaan Jaff
8e72f991cc
test_model_alias_map
2025-09-01 17:59:40 -07:00
Krrish Dholakia
4a422ca897
fix: support logging dynamic metadata values to braintrust
2025-09-01 17:38:15 -07:00
Ishaan Jaff
4c7b3e10ed
[Bug Fix] Gemini Tool Calling - fix gemini empty enum property ( #14155 )
...
* fix: _convert_schema_types
* fix recursive detector
* test_convert_schema_types_type_array_conversion
* fix: DEFAULT_NUM_WORKERS_LITELLM_PROXY
* add _fix_enum_empty_strings
* test_tool_call_with_empty_enum_property
* test_fix_enum_empty_strings
* fix _fix_enum_empty_strings
2025-09-01 17:05:01 -07:00
Ishaan Jaff
7656cb3d6e
test fix
2025-09-01 17:04:47 -07:00
Ishaan Jaff
2331fb45d5
[Bug]: Gemini 2.5 Pro – schema validation fails with OpenAI-style type arrays in tools ( #14154 )
...
* fix: _convert_schema_types
* fix recursive detector
* test_convert_schema_types_type_array_conversion
* fix: DEFAULT_NUM_WORKERS_LITELLM_PROXY
2025-09-01 16:53:20 -07:00
Byron Grogan
736bee813e
fix: Support AWS_BEDROCK_RUNTIME_ENDPOINT on bedrock passthrough, make work for URLs with a base path
2025-09-01 17:47:26 -06:00
Ishaan Jaff
98d57b5d27
[Feat] Allow using x-litellm-stream-timeout header for stream timeout in requests ( #14147 )
...
* fix: allow passing stream_timeout header
* fix: _get_stream_timeout_from_request
* test_add_litellm_data_to_request_with_stream_timeout_header
* docs: LiteLLM Headers
* test_add_litellm_data_to_request_with_stream_timeout_header
2025-09-01 15:59:14 -07:00
Ishaan Jaff
58b713d19d
[Bug fix] Misclassified 500 error on invalid image_url in /chat/completions request ( #14149 )
...
* add ImageFetchError
* docs ImageFetchError
* fix ImageFetchError
* test_completion_with_invalid_image_url
2025-09-01 15:26:27 -07:00
Sameer Kankute
c51665ec9c
fix xai cost calculation ( #14127 )
2025-09-01 11:31:56 -07:00
Ivan Krakhmaliuk
76dd9d8110
GPT-5: Test for unsupported params
2025-09-01 20:30:43 +03:00
retanoj
002c2f16dc
fix token count error when proxy gemini cli to openai like model
2025-09-01 20:02:53 +08:00
Krish Dholakia
fd0f47d48d
Merge pull request #14005 from moshemorad/bedrock_fix_structure_output
...
Bedrock fix structure output
2025-09-01 14:50:08 +03:00
TomeHirata
1ac7f875c9
fix test
2025-09-01 17:21:47 +09:00
TomeHirata
e334f48699
Add supported text field to anthropic citation response
2025-09-01 16:46:54 +09:00
TomeHirata
ca6d77b479
fix citation field name
2025-09-01 16:41:35 +09:00
onlylhf
bfed4e0a6a
Add a complete URL generation method for embedding Volcengine API and optimize request and response processing logic; Delete redundant test files and refactor integration testing to improve readability and maintainability.
2025-09-01 13:18:19 +08:00
Krrish Dholakia
2ad77d9bf6
feat(ollama/completion): output parse thinking content on streaming + non-streaming for ollama completion calls
...
Completes 'thinking' param support for ollama
2025-08-31 21:17:10 -07:00
iabhi4
75e698feef
bug(auth): support for ES256/ES384/ES512 and EdDSA JWT verification
2025-08-31 15:58:26 -07:00
Dharamendra Kumar
4278c3b596
feat: Add dependency injection support to BaseLLMAIOHTTPHandler
...
- Add optional client_session, transport, and connector parameters to constructor
- Implement session ownership tracking to prevent closing user-provided sessions
- Add comprehensive session resolution hierarchy (dynamic > instance > create new)
- Include transport control for advanced HTTP stack management
- Add 29 comprehensive tests covering all injection scenarios
- Maintain backward compatibility with existing code
This enhancement allows users to inject their own configured aiohttp sessions,
transports, and connectors for fine-grained control over connection pooling,
SSL settings, proxy configurations, and other HTTP stack parameters.
2025-08-31 11:14:19 -07:00
Yuta Saito
d83c420d48
feat: Add guardrail for the Anthropic API endpoint
2025-08-31 16:44:01 +09:00
Krrish Dholakia
b6f6dc5c1c
feat(vertex_ai.py): support parsing thinking content into gemini format
...
allows function calls with thought signatures to be sent back to gemini
Closes https://github.com/BerriAI/litellm/pull/13842
2025-08-30 18:49:34 -07:00
Krrish Dholakia
51c73dc60b
fix(vertex_and_google_ai_studio_gemini.py): bubble up thoughtsignature back to client
2025-08-30 17:26:18 -07:00
John Lathouwers
cf5a695571
Merge branch 'BerriAI:main' into main
2025-08-30 22:03:39 +01:00
gotsysdba
07d9d14b49
Update OCIResposeClass
2025-08-30 22:02:00 +01:00
Ishaan Jaff
34275ab273
Revert "Merge pull request #14005 from moshemorad/bedrock_fix_structure_output"
...
This reverts commit 75c327cb9e , reversing
changes made to afa687182a .
2025-08-30 13:37:10 -07:00
Ishaan Jaff
48d3aad68f
test_caching_with_models_v2
2025-08-30 13:21:14 -07:00
John Lathouwers
d137371026
Merge branch 'BerriAI:main' into main
2025-08-30 21:17:28 +01:00