mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
(fix) linting
This commit is contained in:
parent
4020b807f6
commit
99515c2e25
1 changed files with 1 additions and 1 deletions
|
@ -309,13 +309,13 @@ class OpenAIChatCompletion(BaseLLM):
|
|||
super().embedding()
|
||||
exception_mapping_worked = False
|
||||
try:
|
||||
openai_client = OpenAI(api_key=api_key, base_url=api_base, http_client=litellm.client_session, max_retries=data.pop("max_retries", 2))
|
||||
model = model
|
||||
data = {
|
||||
"model": model,
|
||||
"input": input,
|
||||
**optional_params
|
||||
}
|
||||
openai_client = OpenAI(api_key=api_key, base_url=api_base, http_client=litellm.client_session, max_retries=data.pop("max_retries", 2))
|
||||
|
||||
## LOGGING
|
||||
logging_obj.pre_call(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue