mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
* fix(pattern_matching_router.py): update model name using correct function
* fix(langfuse.py): metadata deepcopy can cause unhandled error (#6563)
Co-authored-by: seva <seva@inita.com>
* fix(stream_chunk_builder_utils.py): correctly set prompt tokens + log correct streaming usage
Closes https://github.com/BerriAI/litellm/issues/6488
* build(deps): bump cookie and express in /docs/my-website (#6566)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)
Updates `express` from 4.20.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.1)
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs(virtual_keys.md): update Dockerfile reference (#6554)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
* (proxy fix) - call connect on prisma client when running setup (#6534)
* critical fix - call connect on prisma client when running setup
* fix test_proxy_server_prisma_setup
* fix test_proxy_server_prisma_setup
* Add 3.5 haiku (#6588)
* feat: add claude-3-5-haiku-20241022 entries
* feat: add claude-3-5-haiku-20241022 and vertex_ai/claude-3-5-haiku@20241022 models
* add missing entries, remove vision
* remove image token costs
* Litellm perf improvements 3 (#6573)
* perf: move writing key to cache, to background task
* perf(litellm_pre_call_utils.py): add otel tracing for pre-call utils
adds 200ms on calls with pgdb connected
* fix(litellm_pre_call_utils.py'): rename call_type to actual call used
* perf(proxy_server.py): remove db logic from _get_config_from_file
was causing db calls to occur on every llm request, if team_id was set on key
* fix(auth_checks.py): add check for reducing db calls if user/team id does not exist in db
reduces latency/call by ~100ms
* fix(proxy_server.py): minor fix on existing_settings not incl alerting
* fix(exception_mapping_utils.py): map databricks exception string
* fix(auth_checks.py): fix auth check logic
* test: correctly mark flaky test
* fix(utils.py): handle auth token error for tokenizers.from_pretrained
* build: fix map
* build: fix map
* build: fix json for model map
* fix ImageObject conversion (#6584)
* (fix) litellm.text_completion raises a non-blocking error on simple usage (#6546)
* unit test test_huggingface_text_completion_logprobs
* fix return TextCompletionHandler convert_chat_to_text_completion
* fix hf rest api
* fix test_huggingface_text_completion_logprobs
* fix linting errors
* fix importLiteLLMResponseObjectHandler
* fix test for LiteLLMResponseObjectHandler
* fix test text completion
* fix allow using 15 seconds for premium license check
* testing fix bedrock deprecated cohere.command-text-v14
* (feat) add `Predicted Outputs` for OpenAI (#6594)
* bump openai to openai==1.54.0
* add 'prediction' param
* testing fix bedrock deprecated cohere.command-text-v14
* test test_openai_prediction_param.py
* test_openai_prediction_param_with_caching
* doc Predicted Outputs
* doc Predicted Output
* (fix) Vertex Improve Performance when using `image_url` (#6593)
* fix transformation vertex
* test test_process_gemini_image
* test_image_completion_request
* testing fix - bedrock has deprecated cohere.command-text-v14
* fix vertex pdf
* bump: version 1.51.5 → 1.52.0
* fix(lowest_tpm_rpm_routing.py): fix parallel rate limit check (#6577)
* fix(lowest_tpm_rpm_routing.py): fix parallel rate limit check
* fix(lowest_tpm_rpm_v2.py): return headers in correct format
* test: update test
* build(deps): bump cookie and express in /docs/my-website (#6566)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)
Updates `express` from 4.20.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.1)
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs(virtual_keys.md): update Dockerfile reference (#6554)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
* (proxy fix) - call connect on prisma client when running setup (#6534)
* critical fix - call connect on prisma client when running setup
* fix test_proxy_server_prisma_setup
* fix test_proxy_server_prisma_setup
* Add 3.5 haiku (#6588)
* feat: add claude-3-5-haiku-20241022 entries
* feat: add claude-3-5-haiku-20241022 and vertex_ai/claude-3-5-haiku@20241022 models
* add missing entries, remove vision
* remove image token costs
* Litellm perf improvements 3 (#6573)
* perf: move writing key to cache, to background task
* perf(litellm_pre_call_utils.py): add otel tracing for pre-call utils
adds 200ms on calls with pgdb connected
* fix(litellm_pre_call_utils.py'): rename call_type to actual call used
* perf(proxy_server.py): remove db logic from _get_config_from_file
was causing db calls to occur on every llm request, if team_id was set on key
* fix(auth_checks.py): add check for reducing db calls if user/team id does not exist in db
reduces latency/call by ~100ms
* fix(proxy_server.py): minor fix on existing_settings not incl alerting
* fix(exception_mapping_utils.py): map databricks exception string
* fix(auth_checks.py): fix auth check logic
* test: correctly mark flaky test
* fix(utils.py): handle auth token error for tokenizers.from_pretrained
* build: fix map
* build: fix map
* build: fix json for model map
* test: remove eol model
* fix(proxy_server.py): fix db config loading logic
* fix(proxy_server.py): fix order of config / db updates, to ensure fields not overwritten
* test: skip test if required env var is missing
* test: fix test
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: paul-gauthier <69695708+paul-gauthier@users.noreply.github.com>
* test: mark flaky test
* test: handle anthropic api instability
* test(test_proxy_utils.py): add testing for db config update logic
* Update setuptools in docker and fastapi to latest verison, in order to upgrade starlette version (#6597)
* build(deps): bump cookie and express in /docs/my-website (#6566)
Bumps [cookie](https://github.com/jshttp/cookie) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.
Updates `cookie` from 0.6.0 to 0.7.1
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.1)
Updates `express` from 4.20.0 to 4.21.1
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.1/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.1)
---
updated-dependencies:
- dependency-name: cookie
dependency-type: indirect
- dependency-name: express
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs(virtual_keys.md): update Dockerfile reference (#6554)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
* (proxy fix) - call connect on prisma client when running setup (#6534)
* critical fix - call connect on prisma client when running setup
* fix test_proxy_server_prisma_setup
* fix test_proxy_server_prisma_setup
* Add 3.5 haiku (#6588)
* feat: add claude-3-5-haiku-20241022 entries
* feat: add claude-3-5-haiku-20241022 and vertex_ai/claude-3-5-haiku@20241022 models
* add missing entries, remove vision
* remove image token costs
* Litellm perf improvements 3 (#6573)
* perf: move writing key to cache, to background task
* perf(litellm_pre_call_utils.py): add otel tracing for pre-call utils
adds 200ms on calls with pgdb connected
* fix(litellm_pre_call_utils.py'): rename call_type to actual call used
* perf(proxy_server.py): remove db logic from _get_config_from_file
was causing db calls to occur on every llm request, if team_id was set on key
* fix(auth_checks.py): add check for reducing db calls if user/team id does not exist in db
reduces latency/call by ~100ms
* fix(proxy_server.py): minor fix on existing_settings not incl alerting
* fix(exception_mapping_utils.py): map databricks exception string
* fix(auth_checks.py): fix auth check logic
* test: correctly mark flaky test
* fix(utils.py): handle auth token error for tokenizers.from_pretrained
* build: fix map
* build: fix map
* build: fix json for model map
* fix ImageObject conversion (#6584)
* (fix) litellm.text_completion raises a non-blocking error on simple usage (#6546)
* unit test test_huggingface_text_completion_logprobs
* fix return TextCompletionHandler convert_chat_to_text_completion
* fix hf rest api
* fix test_huggingface_text_completion_logprobs
* fix linting errors
* fix importLiteLLMResponseObjectHandler
* fix test for LiteLLMResponseObjectHandler
* fix test text completion
* fix allow using 15 seconds for premium license check
* testing fix bedrock deprecated cohere.command-text-v14
* (feat) add `Predicted Outputs` for OpenAI (#6594)
* bump openai to openai==1.54.0
* add 'prediction' param
* testing fix bedrock deprecated cohere.command-text-v14
* test test_openai_prediction_param.py
* test_openai_prediction_param_with_caching
* doc Predicted Outputs
* doc Predicted Output
* (fix) Vertex Improve Performance when using `image_url` (#6593)
* fix transformation vertex
* test test_process_gemini_image
* test_image_completion_request
* testing fix - bedrock has deprecated cohere.command-text-v14
* fix vertex pdf
* bump: version 1.51.5 → 1.52.0
* Update setuptools in docker and fastapi to latest verison, in order to upgrade starlette version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
Co-authored-by: Ishaan Jaff <ishaanjaffer0324@gmail.com>
Co-authored-by: paul-gauthier <69695708+paul-gauthier@users.noreply.github.com>
Co-authored-by: Krish Dholakia <krrishdholakia@gmail.com>
Co-authored-by: Jacob Hagstedt <wcgs@novonordisk.com>
* fix(langfuse.py): fix linting errors
* fix: fix linting errors
* fix: fix casting error
* fix: fix typing error
* fix: add more tests
* fix(utils.py): fix return_processed_chunk_logic
* Revert "Update setuptools in docker and fastapi to latest verison, in order t…" (#6615)
This reverts commit
|
||
---|---|---|
.. | ||
.litellm_cache | ||
example_config_yaml | ||
test_configs | ||
test_model_response_typing | ||
adroit-crow-413218-bc47f303efc9.json | ||
azure_fine_tune.jsonl | ||
batch_job_results_furniture.jsonl | ||
conftest.py | ||
data_map.txt | ||
eagle.wav | ||
gettysburg.wav | ||
large_text.py | ||
log.txt | ||
messages_with_counts.py | ||
model_cost.json | ||
openai_batch_completions.jsonl | ||
openai_batch_completions_router.jsonl | ||
speech_vertex.mp3 | ||
stream_chunk_testdata.py | ||
test_acompletion.py | ||
test_acooldowns_router.py | ||
test_add_function_to_prompt.py | ||
test_add_update_models.py | ||
test_alangfuse.py | ||
test_alerting.py | ||
test_amazing_s3_logs.py | ||
test_amazing_vertex_completion.py | ||
test_anthropic_prompt_caching.py | ||
test_aproxy_startup.py | ||
test_arize_ai.py | ||
test_assistants.py | ||
test_async_fn.py | ||
test_audio_speech.py | ||
test_audit_logs_proxy.py | ||
test_auth_checks.py | ||
test_auth_utils.py | ||
test_azure_content_safety.py | ||
test_azure_openai.py | ||
test_azure_perf.py | ||
test_bad_params.py | ||
test_banned_keyword_list.py | ||
test_batch_completion_return_exceptions.py | ||
test_batch_completions.py | ||
test_bedrock_completion.py | ||
test_blocked_user_list.py | ||
test_braintrust.py | ||
test_budget_manager.py | ||
test_caching.py | ||
test_caching_handler.py | ||
test_caching_ssl.py | ||
test_clarifai_completion.py | ||
test_class.py | ||
test_cohere_completion.py | ||
test_completion.py | ||
test_completion_cost.py | ||
test_completion_with_retries.py | ||
test_config.py | ||
test_cost_calc.py | ||
test_custom_api_logger.py | ||
test_custom_callback_input.py | ||
test_custom_callback_router.py | ||
test_custom_llm.py | ||
test_custom_logger.py | ||
test_datadog.py | ||
test_deployed_proxy_keygen.py | ||
test_dual_cache.py | ||
test_dynamic_rate_limit_handler.py | ||
test_dynamodb_logs.py | ||
test_embedding.py | ||
test_exceptions.py | ||
test_file_types.py | ||
test_fine_tuning_api.py | ||
test_function_call_parsing.py | ||
test_function_calling.py | ||
test_function_setup.py | ||
test_gcs_bucket.py | ||
test_get_llm_provider.py | ||
test_get_model_file.py | ||
test_get_model_info.py | ||
test_get_model_list.py | ||
test_get_optional_params_embeddings.py | ||
test_get_optional_params_functions_not_supported.py | ||
test_get_secret.py | ||
test_google_ai_studio_gemini.py | ||
test_guardrails_ai.py | ||
test_guardrails_config.py | ||
test_health_check.py | ||
test_helicone_integration.py | ||
test_hf_prompt_templates.py | ||
test_image_generation.py | ||
test_img_resize.py | ||
test_jwt.py | ||
test_key_generate_dynamodb.py | ||
test_key_generate_prisma.py | ||
test_lakera_ai_prompt_injection.py | ||
test_langchain_ChatLiteLLM.py | ||
test_langsmith.py | ||
test_least_busy_routing.py | ||
test_litellm_max_budget.py | ||
test_literalai.py | ||
test_llm_guard.py | ||
test_load_test_router_s3.py | ||
test_loadtest_router.py | ||
test_logfire.py | ||
test_logging.py | ||
test_longer_context_fallback.py | ||
test_lowest_cost_routing.py | ||
test_lowest_latency_routing.py | ||
test_lunary.py | ||
test_max_tpm_rpm_limiter.py | ||
test_mem_leak.py | ||
test_mem_usage.py | ||
test_mock_request.py | ||
test_model_alias_map.py | ||
test_model_max_token_adjust.py | ||
test_multiple_deployments.py | ||
test_ollama.py | ||
test_ollama_local.py | ||
test_ollama_local_chat.py | ||
test_openai_batches_and_files.py | ||
test_openai_moderations_hook.py | ||
test_opik.py | ||
test_parallel_request_limiter.py | ||
test_pass_through_endpoints.py | ||
test_presidio_masking.py | ||
test_profiling_router.py | ||
test_prometheus.py | ||
test_prometheus_service.py | ||
test_prompt_caching.py | ||
test_prompt_factory.py | ||
test_prompt_injection_detection.py | ||
test_promptlayer_integration.py | ||
test_provider_specific_config.py | ||
test_proxy_config_unit_test.py | ||
test_proxy_custom_auth.py | ||
test_proxy_custom_logger.py | ||
test_proxy_encrypt_decrypt.py | ||
test_proxy_exception_mapping.py | ||
test_proxy_gunicorn.py | ||
test_proxy_pass_user_config.py | ||
test_proxy_reject_logging.py | ||
test_proxy_routes.py | ||
test_proxy_server.py | ||
test_proxy_server_caching.py | ||
test_proxy_server_cost.py | ||
test_proxy_server_keys.py | ||
test_proxy_server_langfuse.py | ||
test_proxy_server_spend.py | ||
test_proxy_setting_guardrails.py | ||
test_proxy_token_counter.py | ||
test_proxy_utils.py | ||
test_pydantic.py | ||
test_pydantic_namespaces.py | ||
test_python_38.py | ||
test_register_model.py | ||
test_rerank.py | ||
test_router.py | ||
test_router_batch_completion.py | ||
test_router_caching.py | ||
test_router_client_init.py | ||
test_router_cooldowns.py | ||
test_router_custom_routing.py | ||
test_router_debug_logs.py | ||
test_router_fallback_handlers.py | ||
test_router_fallbacks.py | ||
test_router_get_deployments.py | ||
test_router_init.py | ||
test_router_max_parallel_requests.py | ||
test_router_pattern_matching.py | ||
test_router_policy_violation.py | ||
test_router_retries.py | ||
test_router_tag_routing.py | ||
test_router_timeout.py | ||
test_router_utils.py | ||
test_router_with_fallbacks.py | ||
test_rules.py | ||
test_sagemaker.py | ||
test_scheduler.py | ||
test_secret_detect_hook.py | ||
test_secret_manager.py | ||
test_simple_shuffle.py | ||
test_spend_calculate_endpoint.py | ||
test_spend_logs.py | ||
test_stream_chunk_builder.py | ||
test_streaming.py | ||
test_supabase_integration.py | ||
test_team_config.py | ||
test_text_completion.py | ||
test_timeout.py | ||
test_together_ai.py | ||
test_token_counter.py | ||
test_tpm_rpm_routing_v2.py | ||
test_traceloop.py | ||
test_triton.py | ||
test_ui_sso_helper_utils.py | ||
test_unit_test_caching.py | ||
test_update_spend.py | ||
test_user_api_key_auth.py | ||
test_utils.py | ||
test_validate_environment.py | ||
test_wandb.py | ||
test_whisper.py | ||
user_cost.json | ||
vertex_ai.jsonl | ||
vertex_key.json |