mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(openai.py): handling extra headers
This commit is contained in:
parent
9e072f87bd
commit
a94c09c13c
6 changed files with 98 additions and 118 deletions
|
@ -941,8 +941,6 @@ def completion(
|
|||
{
|
||||
"HTTP-Referer": openrouter_site_url,
|
||||
"X-Title": openrouter_app_name,
|
||||
"Content-Type": "application/json",
|
||||
"Authorization": f"Bearer {api_key}"
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue