mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
feat - re-use openai client for text completion
This commit is contained in:
parent
6757b42ce9
commit
d8d10c313a
1 changed files with 1 additions and 0 deletions
|
@ -1059,6 +1059,7 @@ def completion(
|
|||
api_key=api_key,
|
||||
api_base=api_base,
|
||||
acompletion=acompletion,
|
||||
client=client, # pass AsyncOpenAI, OpenAI client
|
||||
logging_obj=logging,
|
||||
optional_params=optional_params,
|
||||
litellm_params=litellm_params,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue