litellm icon indicating copy to clipboard operation
litellm copied to clipboard

add: Allow auth extra_headers to be set via .env

Open gkaretka opened this issue 7 months ago • 3 comments

Title

Allow auth extra_headers to be set via .env

Relevant issues

none

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • [x] I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • [x] I have added a screenshot of my new test passing locally
  • [x] My PR passes all unit tests on (make test-unit)[https://docs.litellm.ai/docs/extras/contributing_code]
  • [x] My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature

Changes

  • Allow extra_headers to be set via .env
  • Add env to docs

gkaretka avatar Apr 24 '25 14:04 gkaretka

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 2:21pm

vercel[bot] avatar Apr 24 '25 14:04 vercel[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 24 '25 14:04 CLAassistant

image

gkaretka avatar Apr 25 '25 07:04 gkaretka

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Jul 25 '25 00:07 github-actions[bot]