litellm/litellm
Krish Dholakia ff68cbda8e
Fix azure dall e 3 call with custom model name + Handle Bearer $LITELLM_API_KEY in x-litellm-api-key custom header (#10776)
* fix(main.py): use base model instead of user model if given

Fixes https://github.com/BerriAI/litellm/issues/10760

* feat(azure/image_generation/__init__.py): make azure image gen check more robust

Fixes https://github.com/BerriAI/litellm/issues/10760

* fix(user_api_key_auth.py): support bearer token auth for `x-litellm-api-key` header

Fixes earlier regression on vertex ai passthrough auth

* fix(user_api_key_auth.py): refactor get api key into separate function

enables easier testing

* fix: cleanup

* fix: fix linting error

* fix: cleanup

* test: update tests
2025-05-12 22:49:35 -07:00
..
anthropic_interface [Refactor] Anthropic /v1/messages endpoint - Refactor to use base llm http handler and transformations (#10677) 2025-05-08 17:56:50 -07:00
assistants Contributor PR - Support OPENAI_BASE_URL in addition to OPENAI_API_BASE (#9995) (#10423) 2025-04-29 21:27:37 -07:00
batch_completion
batches fix(router.py): write file to all deployments (#10708) 2025-05-10 00:08:30 -07:00
caching fix(caching_handler.py): fix embedding str caching result (#10700) 2025-05-09 23:37:02 -07:00
experimental_mcp_client fix types on tools.py 2025-03-29 16:48:15 -07:00
files Litellm Unified File ID output file id support (#10713) 2025-05-10 11:02:09 -07:00
fine_tuning Contributor PR - Support OPENAI_BASE_URL in addition to OPENAI_API_BASE (#9995) (#10423) 2025-04-29 21:27:37 -07:00
integrations Fix Slack alerting not working if using a DB (#10370) 2025-05-08 08:40:05 -07:00
litellm_core_utils Add new model provider Novita AI (#7582) (#9527) 2025-05-12 21:49:30 -07:00
llms Fix azure dall e 3 call with custom model name + Handle Bearer $LITELLM_API_KEY in x-litellm-api-key custom header (#10776) 2025-05-12 22:49:35 -07:00
proxy Fix azure dall e 3 call with custom model name + Handle Bearer $LITELLM_API_KEY in x-litellm-api-key custom header (#10776) 2025-05-12 22:49:35 -07:00
realtime_api Realtime API: Support 'base_model' cost tracking + show response in spend logs (if enabled) (#9897) 2025-04-10 21:24:45 -07:00
rerank_api build(pyproject.toml): add new dev dependencies - for type checking (#9631) 2025-03-29 11:02:13 -07:00
responses [Bug Fix] Responses API - fix for handling multiturn responses API sessions (#10415) 2025-04-29 17:22:47 -07:00
router_strategy fix(router.py): write file to all deployments (#10708) 2025-05-10 00:08:30 -07:00
router_utils complete unified batch id support - replace model in jsonl to be deployment model name (#10719) 2025-05-10 12:04:01 -07:00
secret_managers Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
types Add new model provider Novita AI (#7582) (#9527) 2025-05-12 21:49:30 -07:00
vector_stores [Docs] Using LiteLLM with vector stores / knowledge bases (#10534) 2025-05-03 11:28:33 -07:00
__init__.py Add new model provider Novita AI (#7582) (#9527) 2025-05-12 21:49:30 -07:00
_logging.py fix debug logs 2025-05-06 14:28:20 -07:00
_redis.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
_service_logger.py clean up service metrics 2025-04-02 17:50:41 -07:00
_version.py Virtual key based policies in Aim Guardrails (#9499) 2025-04-01 21:57:23 -07:00
budget_manager.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
constants.py Add new model provider Novita AI (#7582) (#9527) 2025-05-12 21:49:30 -07:00
cost_calculator.py Litellm dev 04 30 2025 p1 (#10462) 2025-04-30 22:11:12 -07:00
cost.json
exceptions.py Litellm dev 04 30 2025 p1 (#10462) 2025-04-30 22:11:12 -07:00
main.py Fix azure dall e 3 call with custom model name + Handle Bearer $LITELLM_API_KEY in x-litellm-api-key custom header (#10776) 2025-05-12 22:49:35 -07:00
model_prices_and_context_window_backup.json Support Anthropic web search tool + Add more google finish reason mapping (#10785) 2025-05-12 22:45:51 -07:00
mypy.ini mypy tweaks (#10490) 2025-05-01 22:13:14 -07:00
py.typed
router.py fix: allow using credentials with amoderation (#10723) 2025-05-10 14:27:57 -07:00
scheduler.py Squashed commit of the following: (#9709) 2025-04-02 21:24:54 -07:00
timeout.py
utils.py Fix azure dall e 3 call with custom model name + Handle Bearer $LITELLM_API_KEY in x-litellm-api-key custom header (#10776) 2025-05-12 22:49:35 -07:00