mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +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> |
||
|---|---|---|
| .. | ||
| chat | ||
| embedding | ||
| messages | ||
| responses | ||
| __init__.py | ||
| test_abliteration_provider.py | ||
| test_aiand_provider.py | ||
| test_assemblyai_provider.py | ||
| test_charity_engine.py | ||
| test_cognition_provider.py | ||
| test_coralbricks_provider.py | ||
| test_cortecs_provider.py | ||
| test_dynamic_config.py | ||
| test_empiriolabs_provider.py | ||
| test_hostinger_router_provider.py | ||
| test_inferenceapis_provider.py | ||
| test_json_loader.py | ||
| test_json_providers.py | ||
| test_kyma_provider.py | ||
| test_libertai_provider.py | ||
| test_meta_provider.py | ||
| test_model_info.py | ||
| test_openinfer_provider.py | ||
| test_perplexity_orchestrator_provider.py | ||
| test_pinstripes_provider.py | ||
| test_prism_provider.py | ||
| test_provider_affinity_forwarding.py | ||
| test_refuseless_provider.py | ||
| test_reka_provider.py | ||
| test_resetdata_provider.py | ||
| test_sarvam_provider.py | ||
| test_scx_ai_provider.py | ||
| test_streamlake_provider.py | ||
| test_tensormesh_provider.py | ||
| test_vispark_provider.py | ||
| test_wally_provider.py | ||
| test_xiaomi_mimo.py | ||
| test_zerogpu_provider.py | ||