mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
use api_base instead of custom_api_base
This commit is contained in:
parent
e6836985c8
commit
09ae510a58
9 changed files with 39 additions and 39 deletions
|
@ -31,9 +31,9 @@ def testing_batch_completion(*args, **kwargs):
|
|||
if isinstance(model, dict) and "custom_llm_provider" in model
|
||||
else None
|
||||
)
|
||||
kwargs_modified["custom_api_base"] = (
|
||||
model["custom_api_base"]
|
||||
if isinstance(model, dict) and "custom_api_base" in model
|
||||
kwargs_modified["api_base"] = (
|
||||
model["api_base"]
|
||||
if isinstance(model, dict) and "api_base" in model
|
||||
else None
|
||||
)
|
||||
for message_list in batch_messages:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue