forked from phoenix/litellm-mirror
fix(main.py): pass extra headers through for async calls
This commit is contained in:
parent
24eb79da91
commit
6b50e656b8
3 changed files with 18 additions and 7 deletions
|
@ -294,6 +294,7 @@ async def acompletion(
|
|||
"api_version": api_version,
|
||||
"api_key": api_key,
|
||||
"model_list": model_list,
|
||||
"extra_headers": extra_headers,
|
||||
"acompletion": True, # assuming this is a required parameter
|
||||
}
|
||||
if custom_llm_provider is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue