shivam
e699b21878
fixed error parsing in mcp
2026-02-04 17:45:55 -08:00
Ishaan Jaff
6a73e5bd37
Revert "fix(a2a): use text/event-stream SSE format for message/stream endpoin…" ( #20446 )
...
This reverts commit 0209b214ac .
2026-02-04 16:08:22 -08:00
shin-bot-litellm
0209b214ac
fix(a2a): use text/event-stream SSE format for message/stream endpoint ( #20365 )
...
* fix(a2a): use text/event-stream SSE format for message/stream endpoint
The A2A gateway's streaming response was using application/x-ndjson
Content-Type and raw NDJSON body format. The A2A protocol spec requires
text/event-stream with SSE framing (data: ...\n\n).
The official a2a-sdk client validates the Content-Type header and raises
SSEError when it doesn't contain text/event-stream.
Changes:
- Changed media_type from application/x-ndjson to text/event-stream
- Updated response body to use SSE framing (data: prefix + \n\n suffix)
- Added tests validating Content-Type and SSE body format
Fixes #20278
* Potential fix for code scanning alert no. 4045: Information exposure through an exception
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* test(a2a): add manual SSE format validation script
Adds a manual test script that:
1. Starts a real A2A agent on port 10001
2. Starts LiteLLM proxy with the agent registered
3. Makes a streaming request to the proxy's A2A gateway
4. Validates Content-Type header is text/event-stream
5. Validates body uses SSE framing (data: ...\n\n)
Run: python tests/a2a_manual/test_a2a_sse_manual.py
---------
Co-authored-by: shin-bot-litellm <shin-bot-litellm@users.noreply.github.com>
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-02-04 16:07:17 -08:00
Shivam Rawat
795ba8efe3
Merge pull request #20443 from BerriAI/docs_langfuse_multi_project_cred_support
...
langfuse doc update
2026-02-04 15:55:04 -08:00
shivam
555e1da9b4
langfuse doc update
2026-02-04 15:53:24 -08:00
shin-bot-litellm
d1994a148d
Fix mypy type error in fireworks_ai transformation ( #20391 )
...
Cast message to dict before calling pop() to satisfy mypy's type checker.
The message is typed as a Union of TypedDicts which don't have the
'provider_specific_fields' key, but the runtime check already confirms
it's a dict with this key.
2026-02-04 15:44:45 -08:00
yuneng-jiang
d2e113111f
Merge pull request #20436 from BerriAI/litellm_search_tools_config_ui
...
[Feature] UI - Search Tools: Show Config Defined Search Tools
2026-02-04 13:56:19 -08:00
yuneng-jiang
cd9466a50c
Adding tests
2026-02-04 12:35:58 -08:00
yuneng-jiang
609c423314
migrate to antd table
2026-02-04 12:22:57 -08:00
yuneng-jiang
208cf5e86d
refactor - rename search tools files
2026-02-04 11:53:03 -08:00
yuneng-jiang
a16faa9e0a
Merge pull request #20394 from BerriAI/litellm_spend_fix_2
...
[Fix] Unique Constraint on Daily Tables + Logging When Updates Fail
2026-02-04 09:42:46 -08:00
Sameer Kankute
8b563a7641
Merge pull request #20402 from BerriAI/litellm_responses_tools_file_ids
...
Add mapping for responses tools in file ids
2026-02-04 18:09:39 +05:30
Sameer Kankute
8a3b253e62
Merge pull request #20390 from BerriAI/litellm_fix_empty_message
...
Fix: empty assistant message for converse API
2026-02-04 18:05:37 +05:30
Sameer Kankute
18a524a1dc
Merge pull request #20408 from BerriAI/litellm_fix_model+map_streaming
...
Fix supports_native_streaming for gemini and vertex ai and claude models
2026-02-04 17:56:48 +05:30
Sameer Kankute
a86e501632
Merge pull request #20407 from BerriAI/litellm_key_mcp_permissions
...
Add Key info endpoint object permission data
2026-02-04 17:56:05 +05:30
Sameer Kankute
1a5f2a566f
Fix: test_bedrock_no_default_message
2026-02-04 17:52:28 +05:30
Sameer Kankute
b2feedc469
Merge pull request #20318 from BerriAI/litellm_oss_staging_02_03_2026
...
feat(guardrails): implement team-based isolation guardrails mgmnt (#1…
2026-02-04 17:49:30 +05:30
Sameer Kankute
54b5c7d2cd
Fix: litellm/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_grayswan.py
2026-02-04 17:35:26 +05:30
Sameer Kankute
f8b6af5577
Fix test_transform_messages_disable_copilot_system_to_assistant
2026-02-04 17:29:55 +05:30
Sameer Kankute
674593e4d7
Merge pull request #20413 from BerriAI/revert-20145-fix/proxy_failure_cases
...
Revert "fix: proxy failure cases, now log ip and user agent, key hash, name"
2026-02-04 17:17:39 +05:30
Sameer Kankute
6b25e37309
Revert "fix: proxy failure cases, now log ip and user agent, key hash, name (…"
...
This reverts commit ec279eb426 .
2026-02-04 17:16:51 +05:30
Sameer Kankute
5cec5c3bef
fix model map json
2026-02-04 14:48:49 +05:30
Sameer Kankute
0ed5e51f9b
Fix supports_native_streaming for anthropic models
2026-02-04 14:44:31 +05:30
Sameer Kankute
20c21c63d9
Fix supports_native_streaming for gemini and vertex ai models
2026-02-04 14:41:32 +05:30
Sameer Kankute
fc873d8867
Fix mypy issues
2026-02-04 14:40:08 +05:30
Sameer Kankute
42561729ee
Add Key info endpoint object permission data
2026-02-04 14:21:19 +05:30
Sameer Kankute
bfc0c4b4ab
Merge pull request #20396 from BerriAI/litellm_copilot_kit_sdk
...
[DOCS]Add copilotkit sdk doc as supported agents sdk
2026-02-04 13:41:08 +05:30
Sameer Kankute
4d90767d82
Merge pull request #20406 from BerriAI/litellm_deepreasearch_agent_gemini
...
Add gemini deep research in model cost map
2026-02-04 13:39:55 +05:30
Sameer Kankute
216cf4cac5
Add gemini deep research in model cost map
2026-02-04 13:38:13 +05:30
Sameer Kankute
e4c1cfff9d
Fix mypy issues
2026-02-04 13:25:21 +05:30
Sameer Kankute
2698c9218c
Fix mypy issues
2026-02-04 13:24:00 +05:30
Sameer Kankute
5413f584f5
Fix code quality issues
2026-02-04 13:17:05 +05:30
Sameer Kankute
8b3213ce5c
Add mapping for responses tools in file ids
2026-02-04 13:12:45 +05:30
Sameer Kankute
cdd4569064
Apply suggestion from @greptile-apps[bot]
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-04 11:56:17 +05:30
Sameer Kankute
465bbf3514
Add copilotkit sdk doc as supported agents sdk
2026-02-04 11:53:49 +05:30
Sameer Kankute
8109413a54
Add copilotkit sdk doc as supported agents sdk
2026-02-04 11:52:17 +05:30
Krish Dholakia
58cc6248ab
Skip test_e2e_semantic_filter when OPENAI_API_KEY is not set ( #20387 )
...
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2026-02-03 22:09:47 -08:00
Krish Dholakia
ca34b4ee13
Revert "feat(guardrails): implement team-based isolation guardrails mgmnt (#1…" ( #20393 )
...
This reverts commit 76a399ba69 .
2026-02-03 20:55:46 -08:00
yuneng-jiang
9ce55057ab
Adding logging for when batching fails
2026-02-03 20:54:40 -08:00
Krrish Dholakia
49c678589e
fix: fix schema.prisma on litellm proxy extras
2026-02-03 20:36:10 -08:00
yuneng-jiang
30027d2928
save empty endpoint as string
2026-02-03 20:26:57 -08:00
Sameer Kankute
15351a93dc
Fix: empty assistant message for converse API
2026-02-04 09:50:58 +05:30
Ishaan Jaffer
7b8e3c7736
docs fix
2026-02-03 20:11:48 -08:00
yuneng-jiang
dc07a6922f
Merge pull request #20371 from BerriAI/litellm_config_search_tools
...
[Feature] Include Config Defined Search Tools in /search_tools/list
2026-02-03 20:00:21 -08:00
Ishaan Jaff
da4cf4942f
[Feat] Add xAI /realtime API Support - works with LiveKitSDK ( #20381 )
...
* init: _realtime_health_check + routing
* refactor: OpenAIRealtime
* refactor: XAI_API_BASE
* feat: XAIRealtime
* init feat: XAIRealtime
* OpenAIRealtime
* TestXAIRealtime
* test fixes
* test OAI
* TEST xAI, OAI
* clean realtime jobs
* refactor
* test XAI
* docs xAI
* fix xAI
* fix lint errors
* test_async_realtime_url_contains_model
* test fix
* document test changes
* _realtime_health_check
* docs xai realtime
* fix handlers
* add additional_headers
* fix
2026-02-03 19:58:28 -08:00
Krish Dholakia
7056d9984e
Custom Code Guardrails UI Playground ( #20377 )
...
* feat(guardrails/): allow custom code execution for guardrails
first step in allowing teams to submit custom code for guardrails
* feat: custom_code_guardrail.md
support passing custom code for guardrails
* feat: initial commit adding ui for custom code guardrails
allows users to write guardrails based on custom code
* feat: expose new test custom code guardrail endpoint
allows ui testing playground to sanity check if guardrail is working as expected
* fix: fix linting errors
* fix: fix max recursion check
* fix: fix linting error
2026-02-03 19:57:24 -08:00
Sameer Kankute
25fa1ad4e7
Merge pull request #20386 from naaa760/fix/extra-head-chat-comp-brid
...
fix(proxy): forward extra headers in chat
2026-02-04 09:11:43 +05:30
naaa760
0cb6b58768
fix(proxy): forward extra_headers in chat
2026-02-04 08:56:50 +05:30
Sameer Kankute
7b57d1acf1
Merge pull request #20331 from BerriAI/litellm_bstch_status_retrieve
...
Fix: Managed Batches: Inconsistent State Management for list and cancel batches
2026-02-04 08:52:17 +05:30
Sameer Kankute
f11c16a0e7
Merge pull request #20334 from BerriAI/litellm_fireworks_ai_field_remoal
...
Fix: Extra inputs are not permitted, field: 'messages[2].provider_specific_fields
2026-02-04 08:50:04 +05:30