litellm/litellm
Sean Walker 29dc4e51f9
Fix HuggingFace embeddings using non-default input_type (#11452)
* fix(huggingface): use get() instead of pop() for input_type parameter

Fixes embedding generation for HuggingFace models where input_type override
is required (e.g. BAAI/bge-m3). The pop() method was mutating optional_params
and removing input_type before downstream functions could access it.

* Add unit tests to catch regression

* Move tests around
2025-06-05 15:48:55 -07:00
..
anthropic_interface [Refactor] Anthropic /v1/messages endpoint - Refactor to use base llm http handler and transformations (#10677) 2025-05-08 17:56:50 -07:00
assistants Contributor PR - Support OPENAI_BASE_URL in addition to OPENAI_API_BASE (#9995) (#10423) 2025-04-29 21:27:37 -07:00
batch_completion (code quality) run ruff rule to ban unused imports (#7313) 2024-12-19 12:33:42 -08:00
batches fix(router.py): write file to all deployments (#10708) 2025-05-10 00:08:30 -07:00
caching fix(redis_cache.py): support pipeline redis lpop for older redis vers… (#11425) 2025-06-05 00:05:54 -07:00
experimental_mcp_client fix types on tools.py 2025-03-29 16:48:15 -07:00
files Litellm Unified File ID output file id support (#10713) 2025-05-10 11:02:09 -07:00
fine_tuning Litellm managed file updates combined (#11040) 2025-05-22 17:20:41 -07:00
images test: update tests 2025-05-24 12:26:31 -07:00
integrations fix(prometheus.py): pass custom metadata labels in litellm_total_toke… (#11414) 2025-06-05 00:15:23 -07:00
litellm_core_utils Fix None values in usage field for gpt-image-1 model responses (#11448) 2025-06-05 13:19:18 -07:00
llms Fix HuggingFace embeddings using non-default input_type (#11452) 2025-06-05 15:48:55 -07:00
passthrough build(VLLM-Passthrough-with-loadbalancing-support-(enables-using-model-list-for-VLLM-/classify-endpoint)): Closes #11205 2025-05-31 09:00:04 -07:00
proxy fix(prometheus.py): pass custom metadata labels in litellm_total_toke… (#11414) 2025-06-05 00:15:23 -07:00
realtime_api Gemini Multimodal Live API support (#10841) 2025-05-15 22:39:09 -07:00
rerank_api build(pyproject.toml): add new dev dependencies - for type checking (#9631) 2025-03-29 11:02:13 -07:00
responses [Fix] Responses API - Session management (#11254) 2025-05-29 20:36:02 -07:00
router_strategy Rate Limiting: Check all slots on redis, Reduce number of cache writes (#11299) 2025-05-31 18:32:13 -07:00
router_utils Codestral - return litellm latency overhead on /v1/completions + Add '__contains__' support for ChatCompletionDeltaToolCall (#10879) 2025-05-27 16:13:44 -07:00
secret_managers fix(secret-managers): Break AzureCredentialType restriction on AZURE_CREDENTIAL (#11272) 2025-05-31 01:03:08 -07:00
types fix(prometheus.py): pass custom metadata labels in litellm_total_toke… (#11414) 2025-06-05 00:15:23 -07:00
vector_stores [Fix] QA Fixes - Vector Store Object Permissions (#11291) 2025-05-31 09:41:05 -07:00
__init__.py added gemini url context support (#11351) 2025-06-04 23:56:21 -07:00
_logging.py fix debug logs 2025-05-06 14:28:20 -07:00
_redis.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
_service_logger.py [Feat] - Add Support for Showing Passthrough endpoint Error Logs on LiteLLM UI (#10990) 2025-05-20 18:29:39 -07:00
_version.py Virtual key based policies in Aim Guardrails (#9499) 2025-04-01 21:57:23 -07:00
budget_manager.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
constants.py Support no reasoning option for gemini models (#11393) 2025-06-05 00:11:45 -07:00
cost.json store llm costs in budget manager 2023-09-09 19:11:35 -07:00
cost_calculator.py Litellm dev 06 03 2025 p3 (#11388) 2025-06-03 22:35:51 -07:00
exceptions.py [Feat] Add Lakera v2 Guardrail Support (#10880) 2025-05-16 17:08:21 -07:00
main.py [Feat] DD Trace - Add instrumentation for streaming chunks (#11338) 2025-06-02 16:48:39 -07:00
model_prices_and_context_window_backup.json added gemini url context support (#11351) 2025-06-04 23:56:21 -07:00
mypy.ini fix linting errors from ryptography.hazmat.bindings._rust 2025-05-17 16:31:30 -07:00
py.typed feature - Types for mypy - #360 2024-05-30 14:14:41 -04:00
router.py added gemini url context support (#11351) 2025-06-04 23:56:21 -07:00
scheduler.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
timeout.py Litellm ruff linting enforcement (#5992) 2024-10-01 19:44:20 -04:00
utils.py added gemini url context support (#11351) 2025-06-04 23:56:21 -07:00