mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
|
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (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
Each client surface (/v1/chat/completions, /v1/responses, /v1/messages) now decides the provider's native API format once with litellm/native/route_plan.py, owns logging for the request, and hands the translated request to a native executor (execute_chat, execute_responses, execute_messages) instead of calling back into a public entry point. - Messages to Responses, Messages to chat, Responses to chat and chat to Responses bridges call the native executors - Responses-mode models on providers with no Responses API stay on chat - Bridges price the provider reply before translating it, keep its headers, map provider errors and run JSON-schema validation as re-entry did - Bridged streams are logged once, under the client's call type, when the client stream ends - execute_chat and the chat provider helpers move from main.py to litellm/native/, and a lint check keeps litellm.native from importing litellm.main |
||
|---|---|---|
| .. | ||
| batches | ||
| chat | ||
| files | ||
| messages | ||
| pass_through | ||
| __init__.py | ||
| anthropic_docs_refusal.py | ||
| test_anthropic_common_utils.py | ||
| test_anthropic_count_tokens_transformation.py | ||
| test_anthropic_files_and_batches.py | ||
| test_anthropic_output_format_filter.py | ||
| test_anthropic_prompt_cache_prediction.py | ||
| test_anthropic_prompt_cache_pricing.py | ||
| test_anthropic_reasoning_effort.py | ||
| test_anthropic_schema_filter.py | ||
| test_anthropic_structured_output.py | ||
| test_anthropic_wif.py | ||
| test_azure_ai_cache_pricing.py | ||
| test_cost_calculation_dict_safety.py | ||
| test_count_tokens_oauth.py | ||
| test_message_sanitization.py | ||