mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-02 01:28:38 +00:00
|
Some checks failed
LiteLLM Rust / rust-lint (push) Waiting to run
LiteLLM Rust / rust-test (push) Waiting to run
LiteLLM Rust / rust-wheel (push) Waiting to run
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled
main landed its own fix for the same partial-embedding-cache bug (#42431's line), so the two implementations collided in caching_handler.py and utils.py. Took main's shape everywhere, since it is the base: - CachingHandlerResponse.embedding_uncached_input replaces this branch's remaining_embedding_inputs, and wrapper_async's call_kwargs replaces provider_kwargs. The duplicate provider_kwargs block is gone. - main's _combine_cached_embedding_response_with_api_result replaces this branch's; both splice by position, main's builds a new EmbeddingResponse. Two things from this branch are kept because dropping them would lose a fix: - main fills embedding_uncached_input from handle_kwargs_input_list_or_str (kwargs), which works only because its _process_async_embedding_cached_response writes the trimmed list back through kwargs["input"]. This branch removed that mutation, so the field now takes the subset computed explicitly from cached_result. Without this the full input list would go upstream on a partial hit, which is the bug the branch exists to fix. - The field admits int as well, so a flat token-id input list does not fail pydantic validation on a partial hit. The response-cost recompute and logging the combined response merged clean. |
||
|---|---|---|
| .. | ||
| complexity_router_client.py | ||
| conftest.py | ||
| reliability_support.py | ||
| test_auto_router_regressions_e2e.py | ||
| test_complexity_router_e2e.py | ||
| test_reliability_cache_e2e.py | ||
| test_reliability_cancel_on_disconnect_e2e.py | ||
| test_reliability_cooldowns_e2e.py | ||
| test_reliability_fallbacks_e2e.py | ||
| test_reliability_memory_e2e.py | ||
| test_reliability_prompt_caching_e2e.py | ||
| test_reliability_retries_e2e.py | ||
| test_reliability_routing_strategies_e2e.py | ||
| test_reliability_timeouts_e2e.py | ||