fix(main.py): pass extra headers through for async calls

This commit is contained in:
Krrish Dholakia 2024-05-27 19:11:40 -07:00
parent 24eb79da91
commit 6b50e656b8
3 changed files with 18 additions and 7 deletions

View file

@ -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: