fix(watsonx.py): use common litellm params for api key, api base, etc.

This commit is contained in:
Krrish Dholakia 2024-04-27 10:15:27 -07:00
parent a76e40df73
commit c9d7437d16
2 changed files with 49 additions and 27 deletions

View file

@ -1872,7 +1872,7 @@ def completion(
model_response=model_response,
print_verbose=print_verbose,
optional_params=optional_params,
litellm_params=litellm_params,
litellm_params=litellm_params, # type: ignore
logger_fn=logger_fn,
encoding=encoding,
logging_obj=logging,