mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
fix(cerebras): satisfy type discipline gate
This commit is contained in:
parent
a444f10e29
commit
0127c171fc
1 changed files with 3 additions and 3 deletions
|
|
@ -119,7 +119,7 @@ class CerebrasConfig(OpenAIGPTConfig):
|
|||
drop_params: bool,
|
||||
) -> dict:
|
||||
supported_openai_params: Final = self.get_supported_openai_params(model=model)
|
||||
optional_params.update(
|
||||
{param: value for param, value in non_default_params.items() if param in supported_openai_params}
|
||||
)
|
||||
for param in supported_openai_params:
|
||||
if param in non_default_params:
|
||||
optional_params[param] = non_default_params[param]
|
||||
return optional_params
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue