forked from phoenix/litellm-mirror
fix(main.py): pass extra_headers param to openai
Fixes https://github.com/BerriAI/litellm/issues/6836
This commit is contained in:
parent
250d66b335
commit
dfb34dfe92
2 changed files with 5 additions and 0 deletions
|
@ -1085,6 +1085,7 @@ def test_cohere_img_embeddings(input, input_type):
|
|||
@pytest.mark.parametrize("sync_mode", [True, False])
|
||||
@pytest.mark.asyncio
|
||||
async def test_embedding_with_extra_headers(sync_mode):
|
||||
|
||||
input = ["hello world"]
|
||||
from litellm.llms.custom_httpx.http_handler import HTTPHandler, AsyncHTTPHandler
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue