Skip to content

Commit

Permalink
Fix parameter passing in deprecated client
Browse files Browse the repository at this point in the history
Parameters are not nullable on API side
  • Loading branch information
volkerstampa committed Feb 10, 2023
1 parent ce41a7b commit 2e86f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aleph_alpha_client/aleph_alpha_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ def complete(
"sequence_penalty": sequence_penalty,
"sequence_penalty_min_length": sequence_penalty_min_length,
"use_multiplicative_sequence_penalty": use_multiplicative_sequence_penalty,
"completion_bias_inclusion": completion_bias_inclusion,
"completion_bias_inclusion": completion_bias_inclusion or [],
"completion_bias_inclusion_first_token_only": completion_bias_inclusion_first_token_only,
"completion_bias_exclusion": completion_bias_exclusion,
"completion_bias_exclusion": completion_bias_exclusion or [],
"completion_bias_exclusion_first_token_only": completion_bias_exclusion_first_token_only,
}

Expand Down

0 comments on commit 2e86f7e

Please sign in to comment.