mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-30 01:08:33 +00:00
* feat(perplexity): add the Perplexity Orchestrator provider with cost tracking * fix(ui): keep Perplexity Orchestrator models out of the Perplexity dropdown and re-indent their cost rows * chore(perplexity): regenerate provider endpoints support for perplexity_orchestrator * fix(perplexity_orchestrator): read PERPLEXITYAI_API_KEY like the Perplexity provider * fix(perplexity_orchestrator): forward user, reject or drop values the Orchestrator refuses, keep cache marker on auto * fix(perplexity_orchestrator): drop or reject the fields the Orchestrator refuses and keep the cache marker on new Claude models A Responses call with store, background or previous_response_id now gets a 400 before any upstream call, or has them dropped under drop_params. Chat store=true is handled the same way. Under drop_params, json_object response formats are dropped on anthropic/* models, which the Orchestrator rejects. A Claude model the cost map does not list yet keeps the caller's cache marker through an anthropic/* special-handling prefix key. get_valid_models now lists a JSON provider set up through a key variable it declares, such as PERPLEXITY_API_KEY * fix(perplexity_orchestrator): rewrite legacy thinking for adaptive Claude models, limit service_tier by model and honor allowed_openai_params * fix(openai_like): keep Sail's Responses completion_window on the allowed-params path The JSON Responses dispatch now calls the deployment mapping method directly, which skipped Sail's map_openai_params override, so service_tier flex lost metadata.completion_window and auto was no longer dropped. The generated config now runs an adjust_mapped_params hook after mapping, and Sail overrides that hook, so both entry points apply the window --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| _support | ||
| audio_tests | ||
| base_sdk_tests | ||
| basic_proxy_startup_tests | ||
| benchmarks | ||
| code_coverage_tests | ||
| documentation_tests | ||
| e2e | ||
| e2e_harness | ||
| fixtures | ||
| harness_e2e | ||
| integration | ||
| rust-python-harness | ||
| test_litellm_rust | ||
| typing | ||
| unit | ||
| windows_tests | ||
| __init__.py | ||
| _fake_openai_endpoint_server.py | ||
| _flush_vcr_cache.py | ||
| _live_test_helpers.py | ||
| _master_key.py | ||
| _module_state.py | ||
| _openai_record_replay_proxy.py | ||
| _process_helpers.py | ||
| _vcr_conftest_common.py | ||
| _vcr_redis_persister.py | ||
| _wait_helpers.py | ||
| _ws_vcr.py | ||
| AGENTS.md | ||
| capturing_transport.py | ||
| eval_swe_bench.py | ||
| fake_openai_endpoint.py | ||
| gettysburg.wav | ||
| large_text.py | ||
| openai_batch_completions.jsonl | ||
| pyrightconfig.json | ||
| README.MD | ||
| test_logging.conf | ||
| test_rust_python_harness.py | ||
| VCR_TESTING.md | ||
| white_100x100.png | ||
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/unit
This folder can only run mock tests.